RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.27k stars 1.26k forks source link

when i try to verify that i have pydrake, i get this error #21643

Closed noke-cmu closed 3 months ago

noke-cmu commented 3 months ago

(drake_env) user_info ~ % python -c 'import pydrake.all; print(pydrake.file)' AttributeError: itemset was removed from the ndarray class in NumPy 2.0. Use arr[index] = value instead.. Did you mean: 'itemsize'?

The above exception was the direct cause of the following exception:

ImportError: initialization failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "", line 1, in File "/Users/user_info/drake_env/lib/python3.12/site-packages/pydrake/all.py", line 43, in from .planning import * ImportError: initialization failed

jwnimmer-tri commented 3 months ago

Duplicate of https://github.com/RobotLocomotion/drake/issues/21577.