I run Windows 10
, and have installed Anaconda 3
. I proceeded with the instructions provided in the Prodigy Website on how to install Prodigy. Although Prodigy seems to have been installed correctly (installation completed without producing any error message) the final test: python -m prodigy stats
failed. For your better information I will outline the steps I followed and also provide the output in the console. Your assistance will be greatly appreciated.
Steps:
- Created an Environment (named Spacy)
- Activated the Environment
- Installed Spacy
- Created a Directory (
md c:\prodigy_examples
) - Saved the wheel file inside the
prodigy_examples
directory - From within the
prodigy_examples
directory I run thepip install <wheel filename>
command. The installation completed seemingly successfully. - Run the
python -m prodigy stats
command to test the integrity of the installation. I got error messages which I can not interpret.
The output in the console is the following:
(spacy) c:\prodigy_examples>pip install prodigy-1.9.10-cp36.cp37.cp38-cp36m.cp37m.cp38-win_amd64.whl
Processing .\prodigy-1.9.10-cp36.cp37.cp38-cp36m.cp37m.cp38-win_amd64.whl
Collecting catalogue<1.1.0,>=0.0.8
Using cached catalogue-1.0.0-py2.py3-none-any.whl (7.7 kB)
Collecting uvicorn
Using cached uvicorn-0.11.8-py3-none-any.whl (43 kB)
Collecting pyjwt<2.0.0,>=1.6.1
Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting wasabi<1.1.0,>=0.4.2
Using cached wasabi-0.8.0-py3-none-any.whl (23 kB)
Collecting spacy<2.3.0,>=2.2.3
Using cached spacy-2.2.4-cp38-cp38-win_amd64.whl (10.1 MB)
Processing c:\users\afrodite zoi k\appdata\local\pip\cache\wheels\8b\55\68\b64af029c0a3ace9f1ed8b1ae0834560584579f8963b15dbab\starlette-0.12.9-py3-none-any.whl
Collecting requests<3.0.0,>=2.0.0
Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Processing c:\users\afrodite zoi k\appdata\local\pip\cache\wheels\31\c2\e3\758b28810363cabd2ea3126fa71ee31be916528dcbc6c59eaf\peewee-3.13.3-py3-none-any.whl
Collecting srsly<1.1.0,>=0.0.6
Using cached srsly-1.0.2-cp38-cp38-win_amd64.whl (181 kB)
Collecting cachetools>=2.1.0
Using cached cachetools-4.1.1-py3-none-any.whl (10 kB)
Processing c:\users\afrodite zoi k\appdata\local\pip\cache\wheels\a5\2b\b5\05758d5828d65f2adef8fbb5d5484e4adb946ae1827a973a01\toolz-0.10.0-py3-none-any.whl
Collecting pydantic<2.0.0,>=1.0.0
Using cached pydantic-1.6.1-cp38-cp38-win_amd64.whl (1.7 MB)
Collecting aiofiles
Using cached aiofiles-0.5.0-py3-none-any.whl (11 kB)
Collecting plac<1.2.0,>=0.9.6
Using cached plac-1.1.3-py2.py3-none-any.whl (20 kB)
Collecting fastapi<0.45.0,>=0.44.0
Using cached fastapi-0.44.1-py3-none-any.whl (42 kB)
Collecting websockets==8.*
Using cached websockets-8.1-cp38-cp38-win_amd64.whl (66 kB)
Collecting h11<0.10,>=0.8
Using cached h11-0.9.0-py2.py3-none-any.whl (53 kB)
Collecting click==7.*
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting murmurhash<1.1.0,>=0.28.0
Using cached murmurhash-1.0.2-cp38-cp38-win_amd64.whl (20 kB)
Collecting thinc==7.4.0
Using cached thinc-7.4.0-cp38-cp38-win_amd64.whl (2.1 MB)
Collecting preshed<3.1.0,>=3.0.2
Using cached preshed-3.0.2-cp38-cp38-win_amd64.whl (115 kB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.3-cp38-cp38-win_amd64.whl (33 kB)
Collecting blis<0.5.0,>=0.4.0
Using cached blis-0.4.1-cp38-cp38-win_amd64.whl (5.0 MB)
Collecting tqdm<5.0.0,>=4.38.0
Using cached tqdm-4.49.0-py2.py3-none-any.whl (69 kB)
Collecting numpy>=1.15.0
Using cached numpy-1.19.2-cp38-cp38-win_amd64.whl (13.0 MB)
Requirement already satisfied: setuptools in c:\anaconda\envs\spacy\lib\site-packages (from spacy<2.3.0,>=2.2.3->prodigy==1.9.10) (49.6.0.post20200814)
Collecting chardet<4,>=3.0.2
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\anaconda\envs\spacy\lib\site-packages (from requests<3.0.0,>=2.0.0->prodigy==1.9.10) (2020.6.20)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Installing collected packages: catalogue, websockets, h11, click, uvicorn, pyjwt, wasabi, murmurhash, chardet, urllib3, idna, requests, cymem, preshed, tqdm, srsly, numpy, blis, plac, thinc, spacy, starlette, peewee, cachetools, toolz, pydantic, aiofiles, fastapi, prodigy
Successfully installed aiofiles-0.5.0 blis-0.4.1 cachetools-4.1.1 catalogue-1.0.0 chardet-3.0.4 click-7.1.2 cymem-2.0.3 fastapi-0.44.1 h11-0.9.0 idna-2.10 murmurhash-1.0.2 numpy-1.19.2 peewee-3.13.3 plac-1.1.3 preshed-3.0.2 prodigy-1.9.10 pydantic-1.6.1 pyjwt-1.7.1 requests-2.24.0 spacy-2.2.4 srsly-1.0.2 starlette-0.12.9 thinc-7.4.0 toolz-0.10.0 tqdm-4.49.0 urllib3-1.25.10 uvicorn-0.11.8 wasabi-0.8.0 websockets-8.1
(spacy) c:\prodigy_examples>python -m prodigy stats
Traceback (most recent call last):
File "C:\anaconda\envs\spacy\lib\runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\anaconda\envs\spacy\lib\runpy.py", line 144, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\anaconda\envs\spacy\lib\runpy.py", line 111, in _get_module_details
__import__(pkg_name)
File "C:\anaconda\envs\spacy\lib\site-packages\prodigy\__init__.py", line 7, in <module>
from . import recipes
File "C:\anaconda\envs\spacy\lib\site-packages\prodigy\recipes\__init__.py", line 4, in <module>
from ..deprecated import recipes # noqa
File "C:\anaconda\envs\spacy\lib\site-packages\prodigy\deprecated\recipes.py", line 10, in <module>
from ..components.loaders import get_stream
File "cython_src\prodigy\components\loaders.pyx", line 9, in init prodigy.components.loaders
File "C:\anaconda\envs\spacy\lib\site-packages\prodigy\app.py", line 40, in <module>
del _uvicorn_log_config["loggers"][""]
KeyError: ''
Once more, thank you for your support!