Import pyzed.sl as sl File "pyzed\sl.pyx", line 1, in init pyzed.sl

Hi, I am desparately trying to run the Zed 2i . I have the following installed:

Cuda 11.1
Python 3.7.4
ZED SDK 3.5

I continue to get the following error

import pyzed.sl as sl

File “pyzed\sl.pyx”, line 1, in init pyzed.sl
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

It was available until I modified the version of numpy and scipy. The current version of numpy is 1.16.5, scipy is1.5.2

Can you please clearly explain how to fix this issue?

Hi @Lanlan
can you please provide more information about the operating system that you are using and the Python environment?
Furthermore, you are using a quite old ZED SDK, I suggest you update to the latest SDK v3.7.2 and you also update the Python wrapper.

Thanks.

I use windows10,64-bit; NVIDIA GeForce GTX 1650 Ti;Python environment list:

-----原始邮件-----
发件人:“Walter Lucetti (Stereolabs)” support@stereolabs.com
发送时间:2022-05-13 21:51:24 (星期五)
收件人: Fu s20203071204@cau.edu.cn
抄送:
主题: Re: Import pyzed.sl as sl File “pyzed\sl.pyx”, line 1, in init pyzed.sl