Install error: ModuleNotFoundError: No module named 'prodigy.models.dep'

Hi guys,

I just purchased prodigy… and am chomping at the bit to use it… in fact… just bought a new top of line gaming PC to run it on (my old one didn’t have enough horsepower)…
Anyways, using Windows 10 Home… followed install instructions… when I did distutils.util.get_platform(), I get ‘win32’ (which seems odd to me, because when I view the OS installation through “My Computer” it says “64-bit Operating System, x64 based processor”…
Installed Python 3.7 successfully, VC++ build tools, then spacy…

Anyways… I renamed the wheel as you suggested, and installation seemed to go fine (see install output section below)… But then when I tried to run “python -m prodigy stats” , I get a bunch of errors… Any ideas?

Errors from “python -m prodigy stats”

D:\dev\allegis\prodigy>python -m prodigy stats
D:\Users\cmang\AppData\Local\Programs\Python\Python37-32\lib\ RuntimeWarning: cymem.cymem.Pool size changed, may indicate binary incompatibility. Expected 24 from C header, got 32 from PyObject
return f(*args, **kwds)
D:\Users\cmang\AppData\Local\Programs\Python\Python37-32\lib\ RuntimeWarning: cymem.cymem.Address size changed, may indicate binary incompatibility. Expected 12 from C header, got 20 from PyObject
return f(*args, **kwds)
Traceback (most recent call last):
File “D:\Users\cmang\AppData\Local\Programs\Python\Python37-32\lib\”, line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “D:\Users\cmang\AppData\Local\Programs\Python\Python37-32\lib\”, line 142, in _get_module_details
return get_module_details(pkg_main_name, error)
File “D:\Users\cmang\AppData\Local\Programs\Python\Python37-32\lib\”, line 109, in get_module_details
File "D:\Users\cmang\AppData\Local\Programs\Python\Python37-32\lib\site-packages\prodigy_init
.py", line 9, in
from . import recipes # noqa
File "D:\Users\cmang\AppData\Local\Programs\Python\Python37-32\lib\site-packages\prodigy\recipes_init
.py", line 4, in
from . import dep, ner, textcat, pos, compare, terms, generic, image # noqa
File “D:\Users\cmang\AppData\Local\Programs\Python\Python37-32\lib\site-packages\prodigy\recipes\”, line 7, in
from …models.dep import DependencyParser, merge_arcs
ModuleNotFoundError: No module named ‘prodigy.models.dep’

Hope we can help you get started quickly :slight_smile:

I think the problem here is that you’re running a 32-bit version of Python. If you can install the 64-bit one and then make sure you run that when you run python -m venv .env to set up the virtualenv, things should go more smoothly.

Hi Matt… Thank you… I think that worked… see below… so far so good!

Prodigy stats

Version 1.6.1
Location D:\Users\cmang\AppData\Local\Programs\Python\Python36\lib\site-packages\prodigy
Prodigy Home C:\Users\cmang.prodigy
Platform Windows-10-10.0.16299-SP0
Python Version 3.6.3
Database Name SQLite
Database Id sqlite
Total Datasets 0
Total Sessions 0