Prodigy installation error - setup file not found

No luck in the new conda environment. Please keep me posted if you have any updates.

And you're sure that something like pip install torch works correctly?

I'm not really sure what to suggest next. I'm quite certain the problem isn't with Prodigy, as wheel installation never requires executing a setup.py. It's definitely some sort of Python environment misconfiguration, since none of the Prodigy code gets executed at all.

Perhaps you could contact your system administrators?

All other packages through pip are getting installed. I have tried it on three other systems, every system throws the same error. When we unzip the whl file and try to install it throws the error called " bad zip file".

Maybe that's the problem then – have you tried redownloading the file? Maybe the wheel installer got corrupted in the download process?

Our whl file was indeed corrupt. I started installing with new Whl file but peewee installation throws an error. As you have suggested in another post I am trying installing peewee through whl but couldn't find the matching installation. Can you please help me out ?

Glad you got it working!

See here for Windows wheels: Archived: Python Extension Packages for Windows - Christoph Gohlke

But the whl are greater than peewee version 3.9.6. I thing prodigy needs less than 3.0.0. right ?

Succesfully installed . But When I try to annotate this gives me the blow error and traceback

(base) C:>python -m prodigy ner.manual en_core_web_sm C:\Users\bhargavi.eruva\Downloads\test.txt --label invoice,date,total,vat
Using 4 labels: invoice, date, total, vat
Traceback (most recent call last):
File "C:\Apps\Anaconda\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "C:\Apps\Anaconda\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Apps\Anaconda\lib\site-packages\prodigy_main
.py", line 380, in
controller = recipe(args, use_plac=True)
File "cython_src\prodigy\core.pyx", line 212, in prodigy.core.recipe.recipe_decorator.recipe_proxy
File "C:\Users\bhargavi.eruva\AppData\Roaming\Python\Python37\site-packages\plac_core.py", line 328, in call
cmd, result = parser.consume(arglist)
File "C:\Users\bhargavi.eruva\AppData\Roaming\Python\Python37\site-packages\plac_core.py", line 207, in consume
return cmd, self.func(
(args + varargs + extraopts), **kwargs)
File "C:\Apps\Anaconda\lib\site-packages\prodigy\recipes\ner.py", line 183, in manual
nlp = spacy.load(spacy_model)
File "C:\Users\bhargavi.eruva\AppData\Roaming\Python\Python37\site-packages\spacy_init
.py", line 27, in load
return util.load_model(name, **overrides)
File "C:\Users\bhargavi.eruva\AppData\Roaming\Python\Python37\site-packages\spacy\util.py", line 136, in load_model
return load_model_from_path(Path(name), **overrides)
File "C:\Users\bhargavi.eruva\AppData\Roaming\Python\Python37\site-packages\spacy\util.py", line 162, in load_model_from_path
meta = get_model_meta(model_path)
File "C:\Users\bhargavi.eruva\AppData\Roaming\Python\Python37\site-packages\spacy\util.py", line 210, in get_model_meta
raise IOError(Errors.E053.format(path=meta_path))
OSError: [E053] Could not read meta.json from C:\Users\bhargavi.eruva\Downloads\test.txt\meta.json

Figured it out!!1

I have tried to install prodigy. I have win10, this dependency

wrapt                              1.10.11
xgboost                            0.90
xlrd                               1.1.0
XlsxWriter                         1.2.1
xlwings                            0.11.8
xlwt                               1.3.0
zict                               1.0.0
zipfile36                          0.1.3
zope.interface                     4.5.0

(base) C:\Users\gg>pip list
Package                            Version
---------------------------------- -----------
-ip                                19.1.1
alabaster                          0.7.11
anaconda-client                    1.7.2
anaconda-navigator                 1.9.2
anaconda-project                   0.8.3
appdirs                            1.4.3
argcomplete                        1.9.4
argh                               0.26.2
asn1crypto                         0.24.0
astroid                            2.0.4
astropy                            3.0.4
atomicwrites                       1.3.0
attrs                              19.2.0
Automat                            0.7.0
Babel                              2.7.0
backcall                           0.1.0
backports.functools-lru-cache      1.5
backports.shutil-get-terminal-size 1.0.0
backports.tempfile                 1.0
backports.weakref                  1.0.post1
beautifulsoup4                     4.6.3
bitarray                           0.8.3
bkcharts                           0.2
blaze                              0.11.3
bleach                             2.1.4
blis                               0.2.4
bokeh                              0.13.0
boto                               2.49.0
Bottleneck                         1.2.1
cachetools                         3.1.1
certifi                            2018.8.24
cffi                               1.11.5
chardet                            3.0.4
chest                              0.2.3
cld2-cffi                          0.1.4
click                              6.7
cloudpickle                        1.2.2
clyent                             1.2.2
colorama                           0.3.9
comtypes                           1.1.7
conda                              4.5.11
conda-build                        3.15.1
conda-package-handling             0+unknown
conda-verify                       3.4.2
configobj                          5.0.6
constantly                         15.1.0
contextlib2                        0.6.0
cryptography                       2.3.1
cycler                             0.10.0
cymem                              2.0.2
Cython                             0.28.5
cytoolz                            0.9.0.1
dask                               0.19.2
datashape                          0.5.4
decorator                          4.4.0
defusedxml                         0.6.0
dill                               0.2.8.2
distributed                        1.23.2
docutils                           0.14
dynd                               c328ab7
en-core-web-lg                     2.0.0
en-core-web-md                     2.0.0
en-core-web-sm                     2.0.0
entrypoints                        0.2.3
et-xmlfile                         1.0.1
falcon                             1.4.1
fastcache                          1.0.2
filelock                           3.0.12
Flask                              1.1.1
Flask-Cors                         3.0.8
folium                             0.2.1
ftfy                               4.4.3
future                             0.16.0
gevent                             1.3.6
glob2                              0.7
greenlet                           0.4.15
h5py                               2.8.0
HeapDict                           1.0.1
html5lib                           1.0.1
hug                                2.4.8
hyperlink                          19.0.0
idna                               2.7
ijson                              2.3
imageio                            2.4.1
imagesize                          1.1.0
incremental                        17.5.0
ipykernel                          4.10.0
ipython                            6.5.0
ipython-genutils                   0.2.0
ipywidgets                         7.4.1
isort                              4.3.4
itsdangerous                       0.24
jdcal                              1.4.1
jedi                               0.12.1
Jinja2                             2.10.3
json5                              0.8.5
jsonschema                         2.6.0
jupyter                            1.0.0
jupyter-client                     5.3.3
jupyter-cms                        0.7.0
jupyter-console                    5.2.0
jupyter-core                       4.5.0
jupyterlab                         1.1.4
jupyterlab-launcher                0.13.1
jupyterlab-server                  1.0.0
keyring                            13.2.1
kiwisolver                         1.0.1
lazy-object-proxy                  1.3.1
libarchive-c                       2.8
llvmlite                           0.24.0
lmfit                              0.9.7
locket                             0.2.0
lxml                               4.2.5
Markdown                           2.6.11
MarkupSafe                         1.0
matplotlib                         3.0.0
mccabe                             0.6.1
menuinst                           1.4.14
mistune                            0.8.3
mkl-fft                            1.0.6
mkl-random                         1.0.1
more-itertools                     4.3.0
mpmath                             1.0.0
msgpack                            0.5.6
msgpack-numpy                      0.4.4.3
multipledispatch                   0.6.0
murmurhash                         1.0.1
navigator-updater                  0.2.1
nb-anacondacloud                   1.4.0
nb-conda                           2.2.1
nb-conda-kernels                   2.1.0
nbconvert                          5.5.0
nbformat                           4.4.0
nbpresent                          3.0.2
networkx                           2.3
nltk                               3.3
nose                               1.3.7
notebook                           5.6.0
numba                              0.39.0
numexpr                            2.6.8
numpy                              1.15.2
numpydoc                           0.9.1
odo                                0.5.1
olefile                            0.46
openpyxl                           2.6.3
packaging                          19.2
pandas                             0.23.4
pandocfilters                      1.4.2
parso                              0.5.1
partd                              1.0.0
path.py                            11.1.0
pathlib                            1.0.1
pathlib2                           2.3.2
pathtools                          0.1.2
patsy                              0.5.0
peewee                             3.11.2
pep8                               1.7.1
pickleshare                        0.7.4
Pillow                             5.2.0
pip                                19.3.1
pkginfo                            1.4.2
plac                               0.9.6
pluggy                             0.11.0
ply                                3.11
preshed                            2.0.1
prometheus-client                  0.7.1
prompt-toolkit                     1.0.15
psutil                             5.4.7
Pweave                             0.30.3
py                                 1.6.0
pyasn1                             0.4.7
pyasn1-modules                     0.2.2
pycodestyle                        2.4.0
pycosat                            0.6.3
pycparser                          2.19
pycrypto                           2.6.1
pycurl                             7.43.0.2
pyemd                              0.5.1
pyflakes                           2.0.0
Pygments                           2.4.2
PyJWT                              1.7.1
pylint                             2.1.1
pyodbc                             4.0.24
pyOpenSSL                          18.0.0
pypandoc                           1.3.3
pyparsing                          2.4.2
Pyphen                             0.9.5
pyreadline                         2.1
PySocks                            1.6.8
pytest                             3.8.1
pytest-arraydiff                   0.2
pytest-astropy                     0.4.0
pytest-doctestplus                 0.4.0
pytest-openfiles                   0.4.0
pytest-remotedata                  0.3.0
python-dateutil                    2.7.3
python-Levenshtein                 0.12.0
python-mimeparse                   1.6.0
pytz                               2019.3
PyWavelets                         1.0.0
pywin32                            223
pywinpty                           0.5.4
PyYAML                             3.13
pyzmq                              17.1.2
QtAwesome                          0.6.0
qtconsole                          4.5.5
QtPy                               1.9.0
regex                              2018.7.11
requests                           2.19.1
rise                               5.0.0
rope                               0.14.0
ruamel-yaml                        0.15.46
scikit-image                       0.14.0
scikit-learn                       0.20.0
scipy                              1.1.0
seaborn                            0.9.0
semver                             2.7.2
Send2Trash                         1.5.0
service-identity                   17.0.0
setuptools                         40.2.0
simplegeneric                      0.8.1
singledispatch                     3.4.0.3
six                                1.11.0
snowballstemmer                    2.0.0
sockjs-tornado                     1.0.5
sortedcollections                  1.0.1
sortedcontainers                   2.0.5
spacy                              2.1.8
Sphinx                             2.2.0
sphinx-rtd-theme                   0.4.3
sphinxcontrib-applehelp            1.0.1
sphinxcontrib-devhelp              1.0.1
sphinxcontrib-htmlhelp             1.0.2
sphinxcontrib-jsmath               1.0.1
sphinxcontrib-qthelp               1.0.2
sphinxcontrib-serializinghtml      1.1.3
sphinxcontrib-websupport           1.1.2
sputnik                            0.9.3
spyder                             3.3.1
spyder-kernels                     0.2.6
SQLAlchemy                         1.2.11
srsly                              0.1.0
statsmodels                        0.9.0
sympy                              1.2
tables                             3.4.4
tblib                              1.4.0
termcolor                          1.1.0
terminado                          0.8.1
testpath                           0.3.1
textacy                            0.6.2
textblob                           0.11.1
thinc                              7.0.8
toolz                              0.10.0
torch                              0.3.1.post2
tornado                            5.1.1
tqdm                               4.36.1
traitlets                          4.3.2
tutormagic                         0.2.0
Twisted                            18.7.0
typed-ast                          1.1.0
ujson                              1.35
unicodecsv                         0.14.1
Unidecode                          1.1.1
urllib3                            1.23
waitress                           1.2.1
wasabi                             0.2.2
watchdog                           0.9.0
wcwidth                            0.1.7
webencodings                       0.5.1
Werkzeug                           0.16.0
wheel                              0.31.1
Whoosh                             2.7.4
widgetsnbextension                 3.4.1
win-inet-pton                      1.0.1
win-unicode-console                0.5
wincertstore                       0.2
wrapt                              1.10.11
xgboost                            0.90
xlrd                               1.1.0
XlsxWriter                         1.2.1
xlwings                            0.11.8
xlwt                               1.3.0
zict                               1.0.0
zipfile36                          0.1.3
zope.interface                     4.5.0

(base) C:\Users\gg>





but unfortunatly it failed. here is the error:

The system cannot find the path specified.

C:\Users>    copying playhouse\djpeewee.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\fields.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\flask_utils.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\gfk.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\hybrid.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\kv.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\migrate.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\pool.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\postgres_ext.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\read_slave.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\reflection.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\shortcuts.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\signals.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\sqlcipher_ext.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\sqliteq.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\sqlite_ext.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\sqlite_udf.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\test_utils.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    copying playhouse\__init__.py -> build\lib.win-amd64-3.5\playhouse
The system cannot find the path specified.

C:\Users>    running build_ext
'running' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>    skipping 'playhouse\_speedups.c' Cython extension (up-to-date)
'skipping' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>    building 'playhouse._speedups' extension
'building' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>    error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'
'error:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>    ----------------------------------------
'----------------------------------------' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>  Rolling back uninstall of peewee
'Rolling' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>  Moving to c:\anaconda3\lib\site-packages\__pycache__\peewee.cpython-35.pyc
'Moving' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-523io589\peewee.cpython-35.pyc
'from' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>  Moving to c:\anaconda3\lib\site-packages\__pycache__\pwiz.cpython-35.pyc
'Moving' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-523io589\pwiz.cpython-35.pyc
'from' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>  Moving to c:\anaconda3\lib\site-packages\peewee-3.11.2.dist-info\
'Moving' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>   from c:\anaconda3\lib\site-packages\~eewee-3.11.2.dist-info
'from' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>  Moving to c:\anaconda3\lib\site-packages\peewee.py
'Moving' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-fr1j8d7t\peewee.py
'from' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>  Moving to c:\anaconda3\lib\site-packages\playhouse\
'Moving' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>   from c:\anaconda3\lib\site-packages\~layhouse
'from' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>  Moving to c:\anaconda3\lib\site-packages\pwiz.py
'Moving' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-fr1j8d7t\pwiz.py
'from' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>  Moving to c:\anaconda3\scripts\__pycache__\pwiz.cpython-35.pyc
'Moving' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-5pg2lk4j\pwiz.cpython-35.pyc
'from' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>  Moving to c:\anaconda3\scripts\pwiz.py
'Moving' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-3cw0q05z\pwiz.py
'from' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>ERROR: Command errored out with exit status 1: 'c:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\gg\\AppData\\Local\\Temp\\pip-install-wnql263n\\peewee\\setup.py'"'"'; __file__='"'"'C:\\Users\\gg\\AppData\\Local\\Temp\\pip-install-wnql263n\\peewee\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\gg\AppData\Local\Temp\pip-record-21owg4pk\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
'ERROR:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users>
C:\Users>pip install --no-cache-dir prodigy-1.8.3-cp35.cp36.cp37-cp35m.cp36m.cp37m-win_amd64.whl
Processing c:\users\prodigy-1.8.3-cp35.cp36.cp37-cp35m.cp36m.cp37m-win_amd64.whl
Collecting peewee<3.0.0,>=2.10.1
  Downloading https://files.pythonhosted.org/packages/7a/bc/aafce76cae9362dccf70e35c16a6cc11d114ebb640bbb86d76255be5c0d6/peewee-2.10.2.tar.gz (516kB)
     |################################| 522kB 1.7MB/s
Requirement already satisfied: jsonschema<3.0.0,>=2.6.0 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (2.6.0)
Requirement already satisfied: pyjwt<2.0.0,>=1.6.1 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (1.7.1)
Requirement already satisfied: hug<2.4.9,>=2.4.1 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (2.4.8)
Requirement already satisfied: requests<3.0.0,>=2.0.0 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (2.19.1)
Requirement already satisfied: spacy<2.2.0,>=2.1.0 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (2.1.8)
Requirement already satisfied: srsly<1.1.0,>=0.0.6 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (0.1.0)
Requirement already satisfied: wasabi<1.1.0,>=0.1.3 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (0.2.2)
Requirement already satisfied: cachetools>=2.1.0 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (3.1.1)
Requirement already satisfied: toolz<=1.0.0,>=0.8.2 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (0.10.0)
Requirement already satisfied: waitress<1.3.0,>=1.0.0 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (1.2.1)
Requirement already satisfied: plac<1.0.0,>=0.9.6 in c:\anaconda3\lib\site-packages (from prodigy==1.8.3) (0.9.6)
Requirement already satisfied: falcon==1.4.1 in c:\anaconda3\lib\site-packages (from hug<2.4.9,>=2.4.1->prodigy==1.8.3) (1.4.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\anaconda3\lib\site-packages (from requests<3.0.0,>=2.0.0->prodigy==1.8.3) (2018.8.24)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\anaconda3\lib\site-packages (from requests<3.0.0,>=2.0.0->prodigy==1.8.3) (3.0.4)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in c:\anaconda3\lib\site-packages (from requests<3.0.0,>=2.0.0->prodigy==1.8.3) (1.23)
Requirement already satisfied: idna<2.8,>=2.5 in c:\anaconda3\lib\site-packages (from requests<3.0.0,>=2.0.0->prodigy==1.8.3) (2.7)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in c:\anaconda3\lib\site-packages (from spacy<2.2.0,>=2.1.0->prodigy==1.8.3) (1.0.1)
Requirement already satisfied: thinc<7.1.0,>=7.0.8 in c:\anaconda3\lib\site-packages (from spacy<2.2.0,>=2.1.0->prodigy==1.8.3) (7.0.8)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in c:\anaconda3\lib\site-packages (from spacy<2.2.0,>=2.1.0->prodigy==1.8.3) (2.0.2)
Requirement already satisfied: preshed<2.1.0,>=2.0.1 in c:\anaconda3\lib\site-packages (from spacy<2.2.0,>=2.1.0->prodigy==1.8.3) (2.0.1)
Requirement already satisfied: blis<0.3.0,>=0.2.2 in c:\anaconda3\lib\site-packages (from spacy<2.2.0,>=2.1.0->prodigy==1.8.3) (0.2.4)
Requirement already satisfied: numpy>=1.15.0 in c:\anaconda3\lib\site-packages (from spacy<2.2.0,>=2.1.0->prodigy==1.8.3) (1.15.2)
Requirement already satisfied: python-mimeparse>=1.5.2 in c:\anaconda3\lib\site-packages (from falcon==1.4.1->hug<2.4.9,>=2.4.1->prodigy==1.8.3) (1.6.0)
Requirement already satisfied: six>=1.4.0 in c:\anaconda3\lib\site-packages (from falcon==1.4.1->hug<2.4.9,>=2.4.1->prodigy==1.8.3) (1.11.0)
Requirement already satisfied: tqdm<5.0.0,>=4.10.0 in c:\anaconda3\lib\site-packages (from thinc<7.1.0,>=7.0.8->spacy<2.2.0,>=2.1.0->prodigy==1.8.3) (4.36.1)
Building wheels for collected packages: peewee
  Building wheel for peewee (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\gg\\AppData\\Local\\Temp\\pip-install-vbchi7sv\\peewee\\setup.py'"'"'; __file__='"'"'C:\\Users\\gg\\AppData\\Local\\Temp\\pip-install-vbchi7sv\\peewee\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\gg\AppData\Local\Temp\pip-wheel-0bjxy80i' --python-tag cp35
       cwd: C:\Users\gg\AppData\Local\Temp\pip-install-vbchi7sv\peewee\
  Complete output (37 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.5
  copying peewee.py -> build\lib.win-amd64-3.5
  copying pwiz.py -> build\lib.win-amd64-3.5
  creating build\lib.win-amd64-3.5\playhouse
  copying playhouse\apsw_ext.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\berkeleydb.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\csv_loader.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\csv_utils.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\dataset.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\db_url.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\djpeewee.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\fields.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\flask_utils.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\gfk.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\hybrid.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\kv.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\migrate.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\pool.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\postgres_ext.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\read_slave.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\reflection.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\shortcuts.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\signals.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\sqlcipher_ext.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\sqliteq.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\sqlite_ext.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\sqlite_udf.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\test_utils.py -> build\lib.win-amd64-3.5\playhouse
  copying playhouse\__init__.py -> build\lib.win-amd64-3.5\playhouse
  running build_ext
  cythoning playhouse/_speedups.pyx to playhouse\_speedups.c
  building 'playhouse._speedups' extension
  error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'
  ----------------------------------------
  ERROR: Failed building wheel for peewee
  Running setup.py clean for peewee
Failed to build peewee
Installing collected packages: peewee, prodigy
  Found existing installation: peewee 3.11.2
    Uninstalling peewee-3.11.2:
      Successfully uninstalled peewee-3.11.2
    Running setup.py install for peewee ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\gg\\AppData\\Local\\Temp\\pip-install-vbchi7sv\\peewee\\setup.py'"'"'; __file__='"'"'C:\\Users\\gg\\AppData\\Local\\Temp\\pip-install-vbchi7sv\\peewee\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\gg\AppData\Local\Temp\pip-record-e8d4_srj\install-record.txt' --single-version-externally-managed --compile
         cwd: C:\Users\gg\AppData\Local\Temp\pip-install-vbchi7sv\peewee\
    Complete output (37 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.5
    copying peewee.py -> build\lib.win-amd64-3.5
    copying pwiz.py -> build\lib.win-amd64-3.5
    creating build\lib.win-amd64-3.5\playhouse
    copying playhouse\apsw_ext.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\berkeleydb.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\csv_loader.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\csv_utils.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\dataset.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\db_url.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\djpeewee.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\fields.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\flask_utils.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\gfk.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\hybrid.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\kv.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\migrate.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\pool.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\postgres_ext.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\read_slave.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\reflection.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\shortcuts.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\signals.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\sqlcipher_ext.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\sqliteq.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\sqlite_ext.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\sqlite_udf.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\test_utils.py -> build\lib.win-amd64-3.5\playhouse
    copying playhouse\__init__.py -> build\lib.win-amd64-3.5\playhouse
    running build_ext
    skipping 'playhouse\_speedups.c' Cython extension (up-to-date)
    building 'playhouse._speedups' extension
    error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'
    ----------------------------------------
  Rolling back uninstall of peewee
  Moving to c:\anaconda3\lib\site-packages\__pycache__\peewee.cpython-35.pyc
   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-_5pizdy_\peewee.cpython-35.pyc
  Moving to c:\anaconda3\lib\site-packages\__pycache__\pwiz.cpython-35.pyc
   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-_5pizdy_\pwiz.cpython-35.pyc
  Moving to c:\anaconda3\lib\site-packages\peewee-3.11.2.dist-info\
   from c:\anaconda3\lib\site-packages\~eewee-3.11.2.dist-info
  Moving to c:\anaconda3\lib\site-packages\peewee.py
   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-0iibsq9n\peewee.py
  Moving to c:\anaconda3\lib\site-packages\playhouse\
   from c:\anaconda3\lib\site-packages\~layhouse
  Moving to c:\anaconda3\lib\site-packages\pwiz.py
   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-0iibsq9n\pwiz.py
  Moving to c:\anaconda3\scripts\__pycache__\pwiz.cpython-35.pyc
   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-3k7b92jp\pwiz.cpython-35.pyc
  Moving to c:\anaconda3\scripts\pwiz.py
   from C:\Users\gg\AppData\Local\Temp\pip-uninstall-zeamzo9x\pwiz.py
ERROR: Command errored out with exit status 1: 'c:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\gg\\AppData\\Local\\Temp\\pip-install-vbchi7sv\\peewee\\setup.py'"'"'; __file__='"'"'C:\\Users\\gg\\AppData\\Local\\Temp\\pip-install-vbchi7sv\\peewee\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\gg\AppData\Local\Temp\pip-record-e8d4_srj\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

C:\Users>

could you please let me know how can I solve this?

1 Like

This sounds very similar to this problem. Does the suggestion here help?

1 Like

Hi Bhargavi, I am getting the same error. How did you install it? Can you please help me with the issue?

I had the same error on MacOS. Apparently I was missing the httptool. This solved the problem for me:

conda install -c conda-forge httptools