You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When importing pygsti in an environment with numpy==2.0.0, an error is thrown saying the module numpy.lib.arraysetops is not found. I think this was removed in that version of numpy. The bug is fixed when numpy version 1.26.0 is used, so I suggest modifying the requirements file to specify this.
To Reproduce
In terminal: pip install numpy pygsti # installs version 2.0.0 or above
In the Python environment: import pygsti
Result: ModuleNotFoundError: No module named 'numpy.lib.arraysetops'
Fixed with: pip install numpy==1.26.0
Environment (please complete the following information):
pyGSTi version 0.9.12.3
numpy version 2.0.0
python version 3.11
OS Windows 10
The text was updated successfully, but these errors were encountered:
Thanks for your report. This will be fixed with PR #458, and the fix should be available on the develop branch within the next few days. If you run into any other numpy 2.0 related issues please don't hesitate to let us know.
Describe the bug
When importing
pygsti
in an environment withnumpy==2.0.0
, an error is thrown saying the modulenumpy.lib.arraysetops
is not found. I think this was removed in that version of numpy. The bug is fixed when numpy version1.26.0
is used, so I suggest modifying the requirements file to specify this.To Reproduce
In terminal:
pip install numpy pygsti
# installs version 2.0.0 or aboveIn the Python environment:
import pygsti
Result:
ModuleNotFoundError: No module named 'numpy.lib.arraysetops'
Fixed with:
pip install numpy==1.26.0
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: