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

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

Cuda 11.1
Python 3.7.4

I continue to get the following error

import as sl

File “pyzed\sl.pyx”, line 1, in init
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.


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

发件人:“Walter Lucetti (Stereolabs)”
发送时间:2022-05-13 21:51:24 (星期五)
收件人: Fu
主题: Re: Import as sl File “pyzed\sl.pyx”, line 1, in init