# Error

**URL:** <https://support.prodi.gy/t/error/6755>\
**Category:** Uncategorized\
**Tags:** install\
**Created:** [August 24, 2023, 3:23pm UTC](https://support.prodi.gy/t/error/6755 "2023-08-24T15:23:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sb1000](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@sb1000](https://support.prodi.gy/u/sb1000)\
**Post date:** [August 24, 2023, 3:23pm UTC](https://support.prodi.gy/t/error/6755/1 "2023-08-24T15:23:51Z")

</div>

Hi,  
I am trying to install for the first time using the whl file.  
Windows  
Python 3.10.12  
prodigy-1.12.6-cp310-cp310-win\_amd64

I get error ModuleNotFoundError: No module named 'prodigy.\_util'

what should I do?

---

<div class="post-metadata">

**Author:** ![ryanwesslen](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ryanwesslen/32/2969_2.png) [@ryanwesslen](https://support.prodi.gy/u/ryanwesslen)\
**Post date:** [August 24, 2023, 3:40pm UTC](https://support.prodi.gy/t/error/6755/2 "2023-08-24T15:40:20Z")

</div>

hi @sb1000,

Thanks for your question and welcome to the Prodigy community 👋

Sorry you're having issues.

A few questions:

> [@sb1000](#):
>
> I get error ModuleNotFoundError: No module named 'prodigy.\_util'

When do you get this error?

Are you trying to import it in a Python script (e.g., writing a custom recipe)?

Related, are you able to run `prodigy stats`? If so, can you provide those details?

---

<div class="post-metadata">

**Author:** ![sb1000](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@sb1000](https://support.prodi.gy/u/sb1000)\
**Post date:** [August 25, 2023, 6:58am UTC](https://support.prodi.gy/t/error/6755/3 "2023-08-25T06:58:36Z")

</div>

Thank you for the welcome, yes I was importing and writing a custom recipe.

I get this error:  
python -m prodigy stats  
Traceback (most recent call last):  
File "lib\runpy.py", line 187, in \_run\_module\_as\_main  
mod\_name, mod\_spec, code = \_get\_module\_details(mod\_name, \_Error)  
File "lib\runpy.py", line 146, in \_get\_module\_details  
return \_get\_module\_details(pkg\_main\_name, error)  
File "lib\runpy.py", line 110, in _get\_module\_details  
 **import** (pkg\_name)  
File "lib\site-packages\prodigy\_init_.py", line 1, in   
from .\_util import init\_package  
ModuleNotFoundError: No module named 'prodigy.\_util'

More details:  
I am using conda:  
I created a new environment just for prodigy  
I installed via .whl file

I tried new environments and different installs and still get same error.

---

<div class="post-metadata">

**Author:** ![ryanwesslen](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ryanwesslen/32/2969_2.png) [@ryanwesslen](https://support.prodi.gy/u/ryanwesslen)\
**Post date:** [August 25, 2023, 8:20pm UTC](https://support.prodi.gy/t/error/6755/4 "2023-08-25T20:20:02Z")

</div>

Thanks for the details. Yes, this seems like there was a problem with the installation.

We've seen this previously due to incompatible Python versions, especially with conda.

> [@Problems installing prodigy in conda environment: No module named 'prodigy.util'](https://support.prodi.gy/t/problems-installing-prodigy-in-conda-environment-no-module-named-prodigy-util/4062/3):
>
> This turned out to be the problem. After updating python I ended up with python 3.9.\*. Downgrading to python 3.8.\* made it possible to install the wheel. Unfortunately I still wasn't able to run python -m prodigy stats: it kept returning missing module errors. I ended up manually installing a whole bunch of them (murmurhash, numpy, blis, pytorch, thinc etc.). After doing all of that I was still getting an error message: ImportError: cannot import name 'wrap' from 'thinc.api' I kind of ran out…

I know you tried, but can you double check you're using the consistent Python version (e.g., try which python or which python3) to ensure you're installing Prodigy with a wheel consistent with the Python version you're running?

Just curious, can you also try to install Prodigy via`pypi`, not a wheel file?

---

<div class="post-metadata">

**Author:** ![sb1000](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@sb1000](https://support.prodi.gy/u/sb1000)\
**Post date:** [August 30, 2023, 8:43am UTC](https://support.prodi.gy/t/error/6755/5 "2023-08-30T08:43:30Z")

</div>

> [@Problems installing prodigy in conda environment: No module named 'prodigy.util'](https://support.prodi.gy/t/problems-installing-prodigy-in-conda-environment-no-module-named-prodigy-util/4062/3):
>
> python -m prodigy stats:

thank you for responding.

It is not possible to install via pypi due to the proxy.

I have tried multiple versions all in new miniconda environments.:  
python 3.11 - prodigy-1.12.7-cp311-cp311-win\_amd64  
python 3.10 - prodigy-1.12.7-cp310-cp310-win\_amd64

All receive that same error

ModuleNotFoundError: No module named 'prodigy.\_util'

I can run - pip install prodigy-utils

This does not fix the issue still the same error

I also tried copy and pasting the extracted zip file across as suggested in another post and this still does not work

---

<div class="post-metadata">

**Author:** ![ryanwesslen](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ryanwesslen/32/2969_2.png) [@ryanwesslen](https://support.prodi.gy/u/ryanwesslen)\
**Post date:** [August 30, 2023, 12:30pm UTC](https://support.prodi.gy/t/error/6755/6 "2023-08-30T12:30:39Z")

</div>

hi @sb1000,

Thanks for the details and sorry you're having issues.

> [@sb1000](#):
>
> It is not possible to install via pypi due to the proxy.

Ah - I suspect this is the problem. Whether you install with the wheel file or via `pypi`, by default, it'll try to install dependencies automatically, trying to install them via `pypi`. Since you're behind a proxy, any of those packages that aren't part of your miniconda, likely won't be installed correctly. I suspect if you went through your logs when you try to install, you may find some of your dependencies aren't correctly installed.

Can you try to follow these instructions (see instructions on installing w/o the internet), installing each dependency first, then installing your wheel file with `--no-deps`?

> [@FAQ Installation](https://support.prodi.gy/t/faq-installation/6653#i-need-to-install-prodigy-airgapped-from-the-internet-11):
>
> We're starting to accumulate common FAQ's on installing Prodigy and getting started based on past user posts. Feel free to add comments if you have any suggestions! ERROR: No matching distribution found for prodigy What version of Python are you running? Run python --version or python3 --version to check. As of Prodigy v1.12.0, Prodigy has support for Python 3.8, 3.9, 3.10, and 3.11 (new for v1.12.x). If not, be sure to install a unique virtual environment and run which python or which pytho…

---

<div class="post-metadata">

**Author:** ![sb1000](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@sb1000](https://support.prodi.gy/u/sb1000)\
**Post date:** [August 30, 2023, 6:58pm UTC](https://support.prodi.gy/t/error/6755/7 "2023-08-30T18:58:19Z")

</div>

Thank you again.

Unfortunately I still get the error even after I tried that method and all the other dependencies do not have errors when being loaded.

I am all out of ideas, as not sure what the issue is.

---

<div class="post-metadata">

**Author:** ![ryanwesslen](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ryanwesslen/32/2969_2.png) [@ryanwesslen](https://support.prodi.gy/u/ryanwesslen)\
**Post date:** [August 30, 2023, 10:45pm UTC](https://support.prodi.gy/t/error/6755/8 "2023-08-30T22:45:08Z")

</div>

Hi @sb1000-

I sent you a follow up email. Hopefully we can resolve your issue from there.
