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
This issue is not a duplicate. Before opening a new issue, please search existing issues.
This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
I pulled the docker image stereolabs/zed:4.1-runtime-cuda11.8-ubuntu22.04 and failed to ran my python script on my device.
The output was ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject. I couldn't import pyzed.sl in my python interactive console either.
P.S.: The pyzed and my script works well after manually downgrade numpy by pip install numpy<=2.
sudo docker run --gpus all -it --privileged -v /path/to/depth_capture:/depth --network=host stereolabs/zed:4.1-runtime-cuda11.8-ubuntu22.04
python3
from pyzed import sl
...
Expected Result
root@92293044a15a:/depth/zed# python3
Python 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyzed import sl
>>>
Actual Result
root@92293044a15a:/depth/zed# python3
Python 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyzed import sl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
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
Preliminary Checks
Description
I pulled the docker image
stereolabs/zed:4.1-runtime-cuda11.8-ubuntu22.04
and failed to ran my python script on my device.The output was
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
. I couldn't importpyzed.sl
in my python interactive console either.P.S.: The pyzed and my script works well after manually downgrade numpy by
pip install numpy<=2
.Steps to Reproduce
sudo docker pull stereolabs/zed:4.1-runtime-cuda11.8-ubuntu22.04
sudo docker run --gpus all -it --privileged -v /path/to/depth_capture:/depth --network=host stereolabs/zed:4.1-runtime-cuda11.8-ubuntu22.04
python3
from pyzed import sl
...
Expected Result
Actual Result
ZED Camera model
ZED2i
Environment
The text was updated successfully, but these errors were encountered: