Import pyzed error, ZED SDK 4.0

Today I upgraded to ZED SDK 4.0, reinstalled the python API, and am getting this error when trying to import pyzed.sl:

import pyzed.sl as sl
File “pyzed/sl.pyx”, line 7940, in init pyzed.sl
File “pyzed/sl.pyx”, line 5976, in pyzed.sl.InitParameters.cinit
TypeError: Argument is not of right type.

Here is the platform I am using:
linux_aarch64
Python 3.10
ZED SDK 4.0

Does anyone know how to resolve this?

1 Like

I have similar problem with the python API from ZED SDK 4.0 on JetPack 5.1.1.
Exactly the same error as above.
If i try to do “import pyzed”, it gets imported without any problem but importing pyzed.sl seems to have problems in the latest SDK.
I would appreciate if you could provide any solution for that problem.

same error please fix

The issue has been identified and fixed, you can reinstall the Python API either from source or by relaunching the ZED SDK installer.

Sorry for the inconvenience