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
During SDK installation it asked following question -> "Do you want to install the Python API (recommended) [Y/n] ?"
And it executes get_python_api.py, which installs numpy v2 Collecting numpy>=1.13 (from pyzed==4.1) Using cached numpy-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
Which leads to following error while running simple hello_zed.py Traceback (most recent call last): File "/home/ANT.AMAZON.COM/atahirra/zed_ws/hello_zed.py", line 21, in <module> import pyzed.sl as sl File "pyzed/sl.pyx", line 1, in init pyzed.sl ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
During the installation, you might have to answer some questions on the installation of dependencies, tools and samples. Type y for yes and n for no and hit Enter.
type Y and hit Enter for "Do you want to install the Python API (recommended) [Y/n] ?
Observe the numpy version installed
...
Expected Result
get_python_api.py should install compatible numpy version with latest Zed SDK
Actual Result
get_python_api.py, installs latest numpy which is not compatible with latest Zed SDK
Preliminary Checks
Description
While doing environment setup on Ubuntu, I followed the instructions in How to Install ZED SDK on Linux
During SDK installation it asked following question -> "Do you want to install the Python API (recommended) [Y/n] ?"
And it executes get_python_api.py, which installs numpy v2
Collecting numpy>=1.13 (from pyzed==4.1) Using cached numpy-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
Which leads to following error while running simple hello_zed.py
Traceback (most recent call last): File "/home/ANT.AMAZON.COM/atahirra/zed_ws/hello_zed.py", line 21, in <module> import pyzed.sl as sl File "pyzed/sl.pyx", line 1, in init pyzed.sl ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Steps to Reproduce
...
Expected Result
get_python_api.py should install compatible numpy version with latest Zed SDK
Actual Result
get_python_api.py, installs latest numpy which is not compatible with latest Zed SDK
ZED Camera model
ZED2
Environment
Anything else?
Workaround was installing numpy v1.26.4 which was last release for v1
The text was updated successfully, but these errors were encountered: