Installing problem with prodigy-0.4.0 on Ubuntu 16.0.4 LTS

Hi Team,

Unable to find prodigy prompt. i have all modules installed. even least versions.
Spacy and prodigy libraries loaded. Unable to find prodigy.

Info about spaCy

Location           /home/madhusudhan/.local/lib/python3.5/site-packages/spacy
Models             en_core_web_lg 
Python version     3.5.2          
spaCy version      2.0.2          
Platform           Linux-4.10.0-28-generic-i686-with-Ubuntu-16.04-xenial

About Error is:
File “/usr/lib/python3.5/runpy.py”, line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.5/runpy.py”, line 133, in _get_module_details
return _get_module_details(pkg_main_name, error)
File “/usr/lib/python3.5/runpy.py”, line 109, in _get_module_details
import(pkg_name)
File “/usr/local/lib/python3.5/dist-packages/prodigy/init.py”, line 4, in
from . import recipes, about # noqa
File “/usr/local/lib/python3.5/dist-packages/prodigy/recipes/init.py”, line 4, in
from . import ner, textcat, compare, terms, generic # noqa
File “/usr/local/lib/python3.5/dist-packages/prodigy/recipes/ner.py”, line 10, in
from …models.ner import EntityRecognizer, merge_spans
ImportError: No module named ‘prodigy.models.ner’

Could please help any this?

Thanks for the report! This is strange – maybe you ended up in a weird system/environment state.

The latest version of Prodigy is not yet compatible with the latest version of spaCy – we’re currently working on an update to Prodigy and will send it out asap. So for now, you’d have to use the spacy-nightly==2.0.0a17, which should be installed automatically when you install the Prodigy wheel.

Can you try reinstalling the Prodigy wheel in a fresh and clean virtual environment? The wheel should take care of installing all dependencies, so you don’t have to pre-install spaCy or anything.

Excellent Response, It will working fine.

Thanks for your support…

1 Like

Update: Just sent out a new version of Prodigy (v0.5.0), which is now fully compatible with spaCy v2.0 and the new models! :tada: