# installation error

**URL:** <https://support.prodi.gy/t/installation-error/7280>\
**Category:** Uncategorized\
**Tags:** install, solved\
**Created:** [June 19, 2024, 12:31pm UTC](https://support.prodi.gy/t/installation-error/7280 "2024-06-19T12:31:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmg02](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/dmg02/32/3842_2.png) [@Dmg02](https://support.prodi.gy/u/Dmg02)\
**Post date:** [June 19, 2024, 12:31pm UTC](https://support.prodi.gy/t/installation-error/7280/1 "2024-06-19T12:31:22Z")

</div>

Hi I'm trying to install prodigy and getting this error when running prodigy stats

prodigy stats -l  
Traceback (most recent call last):  
File "", line 198, in \_run\_module\_as\_main  
File "", line 88, in \_run\_code  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/prodigy/ **main**.py", line 50, in   
main()  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/prodigy/ **main**.py", line 44, in main  
controller = run\_recipe(run\_args)  
^^^^^^^^^^^^^^^^^^^^  
File "cython\_src/prodigy/cli.pyx", line 111, in prodigy.cli.run\_recipe  
File "cython\_src/prodigy/cli.pyx", line 36, in prodigy.cli.get\_cli  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/prodigy/recipes/ **init**.py", line 1, in   
from . import (  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/prodigy/recipes/audio.py", line 3, in   
from ..components.preprocess import fetch\_media as fetch\_media\_preprocessor  
File "cython\_src/prodigy/components/preprocess.pyx", line 7, in init prodigy.components.preprocess  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/spacy/ **init**.py", line 6, in   
from .errors import setup\_default\_warnings  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/spacy/errors.py", line 3, in   
from .compat import Literal  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/spacy/compat.py", line 39, in   
from thinc.api import Optimizer # noqa: F401  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/thinc/api.py", line 1, in   
from .backends import (  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/thinc/backends/ **init**.py", line 17, in   
from .cupy\_ops import CupyOps  
File "/Users/dmg/Desktop/Datasets/env/lib/python3.12/site-packages/thinc/backends/cupy\_ops.py", line 16, in   
from .numpy\_ops import NumpyOps  
File "thinc/backends/numpy\_ops.pyx", line 1, in init thinc.backends.numpy\_ops  
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

---

<div class="post-metadata">

**Author:** ![magdaaniol](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/magdaaniol/32/2787_2.png) [@magdaaniol](https://support.prodi.gy/u/magdaaniol)\
**Post date:** [June 19, 2024, 12:55pm UTC](https://support.prodi.gy/t/installation-error/7280/2 "2024-06-19T12:55:57Z")

</div>

Hi @Dmg02,

This is related to the recent numpy v2.0.0. (released on 16/06/2024). There's a backwards-incompatible change that affects `thinc` and we are [working on it](https://github.com/explosion/thinc/issues/939).  
In the meantime, to get unblocked you could install the previous version of numpy in your virtual env e.g.:

```python
python -m pip install numpy==1.26.4

```

That should baypass the current issue.

---

<div class="post-metadata">

**Author:** ![magdaaniol](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/magdaaniol/32/2787_2.png) [@magdaaniol](https://support.prodi.gy/u/magdaaniol)\
**Post date:** [June 19, 2024, 5:56pm UTC](https://support.prodi.gy/t/installation-error/7280/3 "2024-06-19T17:56:02Z")

</div>

Hi again @Dmg02,

Alternatively you could also upgrade to Prodigy 1.15.6 (we have just released it) - see [here](https://support.prodi.gy/t/installation-issues-after-numpy-2-0-0-release/7281).

---

<div class="post-metadata">

**Author:** ![Dmg02](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/dmg02/32/3842_2.png) [@Dmg02](https://support.prodi.gy/u/Dmg02)\
**Post date:** [June 19, 2024, 11:03pm UTC](https://support.prodi.gy/t/installation-error/7280/4 "2024-06-19T23:03:56Z")

</div>

thank you so much for your help and rapid response!
