Installation of Prodigy on Windows

Hello,

I am trying to install prodigy on Windows 10 and I am getting the following error. Can you help me solve this issue, please:

Building wheels for collected packages: peewee
Building wheel for peewee (setup.py) ... error
ERROR: Complete output from command 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\DV3139~1\AppData\Local\Temp\pip-install-ktilgsq8\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\DV3139~1\AppData\Local\Temp\pip-wheel-igp3wq1r' --python-tag cp37:
ERROR: running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
copying peewee.py -> build\lib.win-amd64-3.7
copying pwiz.py -> build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\playhouse
copying playhouse\apsw_ext.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\berkeleydb.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\csv_loader.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\csv_utils.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\dataset.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\db_url.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\djpeewee.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\fields.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\flask_utils.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\gfk.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\hybrid.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\kv.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\migrate.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\pool.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\postgres_ext.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\read_slave.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\reflection.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\shortcuts.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\signals.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\sqlcipher_ext.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\sqliteq.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\sqlite_ext.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\sqlite_udf.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\test_utils.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse_init_.py -> build\lib.win-amd64-3.7\playhouse
running build_ext
cythoning playhouse/_speedups.pyx to playhouse_speedups.c
C:\ProgramData\Anaconda3\lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\DV3139~1\AppData\Local\Temp\pip-install-ktilgsq8\peewee\playhouse_speedups.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'playhouse._speedups' extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\playhouse
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include /Tcplayhouse_speedups.c /Fobuild\temp.win-amd64-3.7\Release\playhouse_speedups.obj
error: command 'cl.exe' failed: No such file or directory

ERROR: Failed building wheel for peewee
Running setup.py clean for peewee
Failed to build peewee
Installing collected packages: peewee, prodigy
Running setup.py install for peewee ... error
ERROR: Complete output from command 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\DV3139~1\AppData\Local\Temp\pip-install-ktilgsq8\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\DV3139~1\AppData\Local\Temp\pip-record-fci66rif\install-record.txt' --single-version-externally-managed --compile:
ERROR: running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
copying peewee.py -> build\lib.win-amd64-3.7
copying pwiz.py -> build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\playhouse
copying playhouse\apsw_ext.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\berkeleydb.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\csv_loader.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\csv_utils.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\dataset.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\db_url.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\djpeewee.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\fields.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\flask_utils.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\gfk.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\hybrid.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\kv.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\migrate.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\pool.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\postgres_ext.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\read_slave.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\reflection.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\shortcuts.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\signals.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\sqlcipher_ext.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\sqliteq.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\sqlite_ext.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\sqlite_udf.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse\test_utils.py -> build\lib.win-amd64-3.7\playhouse
copying playhouse_init_.py -> build\lib.win-amd64-3.7\playhouse
running build_ext
skipping 'playhouse_speedups.c' Cython extension (up-to-date)
building 'playhouse._speedups' extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\playhouse
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include /Tcplayhouse_speedups.c /Fobuild\temp.win-amd64-3.7\Release\playhouse_speedups.obj
error: command 'cl.exe' failed: No such file or directory
----------------------------------------
ERROR: Command "'C:\ProgramData\Anaconda3\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\DV3139~1\AppData\Local\Temp\pip-install-ktilgsq8\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\DV3139~1\AppData\Local\Temp\pip-record-fci66rif\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\DV3139~1\AppData\Local\Temp\pip-install-ktilgsq8\peewee\

Hi! It looks like what fails here is the installation of one of Prodigy's dependencies, peewee (possibly because peewee doesn't ship a precompiled wheel for your platform / Python version and your machine can't compile it).

There are several things you could try: install the Visual Studio C++ Build Tools so you can compile it (probably annoying), install peewee via conda (probably easier) or download the wheel peewee‑3.12.0‑cp37‑cp37m‑win_amd64.whl from here and then pip install that (should work, too).