Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pybullet dosen't support NumPy 2 #43

Closed
xkiixkii opened this issue Jun 21, 2024 · 0 comments · Fixed by #44
Closed

Pybullet dosen't support NumPy 2 #43

xkiixkii opened this issue Jun 21, 2024 · 0 comments · Fixed by #44
Labels
dependencies Pull requests that update a dependency file

Comments

@xkiixkii
Copy link
Contributor

xkiixkii commented Jun 21, 2024

I have encounterd following error by running examples:

ImportError: 
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

downgrade numpy to numpy <2 does solve the problem.
I suggest to limmit numpy version in requirements.txt
from numpy>=1.23.5 to numpy>=1.23.5, <2.0.0

@xkiixkii xkiixkii changed the title Pybullet dosen't suport NumPy 2 Pybullet dosen't support NumPy 2 Jun 21, 2024
@mlaux1 mlaux1 added the dependencies Pull requests that update a dependency file label Jun 21, 2024
@mlaux1 mlaux1 linked a pull request Jun 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants