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

**URL:** <https://community.stereolabs.com/t/import-pyzed-sl-as-sl-file-pyzed-sl-pyx-line-1-in-init-pyzed-sl/1139>\
**Category:** Uncategorized\
**Tags:** python\
**Created:** [May 13, 2022, 1:02pm UTC](https://community.stereolabs.com/t/import-pyzed-sl-as-sl-file-pyzed-sl-pyx-line-1-in-init-pyzed-sl/1139 "2022-05-13T13:02:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lanlan](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/l/c5a1d2/32.png) [@Lanlan](https://community.stereolabs.com/u/Lanlan)\
**Post date:** [May 13, 2022, 1:02pm UTC](https://community.stereolabs.com/t/import-pyzed-sl-as-sl-file-pyzed-sl-pyx-line-1-in-init-pyzed-sl/1139/1 "2022-05-13T13:02:26Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [May 13, 2022, 1:51pm UTC](https://community.stereolabs.com/t/import-pyzed-sl-as-sl-file-pyzed-sl-pyx-line-1-in-init-pyzed-sl/1139/2 "2022-05-13T13:51:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Lanlan](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/l/c5a1d2/32.png) [@Lanlan](https://community.stereolabs.com/u/Lanlan)\
**Post date:** [May 13, 2022, 2:29pm UTC](https://community.stereolabs.com/t/import-pyzed-sl-as-sl-file-pyzed-sl-pyx-line-1-in-init-pyzed-sl/1139/3 "2022-05-13T14:29:44Z")

</div>

Thanks.

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

​

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