stereolabs / zed-python-api

Python API for the ZED SDK
https://www.stereolabs.com/docs/app-development/python/install/
MIT License
213 stars 94 forks source link

Bug when importing pyzed.sl #227

Open Rudiio opened 1 year ago

Rudiio commented 1 year ago

Preliminary Checks

Description

After installing the ZED python API, I keep getting an error when trying to import pyzed.sl. This is the error message that I get : Traceback (most recent call last): File "", line 1, in 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.

Steps to Reproduce

Importing pyzed.sl in python

Expected Result

Importing pyzed.sl and using the ZED python API

Actual Result

I get the error : Traceback (most recent call last): File "", line 1, in 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.

ZED Camera model

ZED2

Environment

OS : Ubuntu 22
Graphics: Nvidia RTX 3060
CUDA: 11.8
Python: 3.10
Zed SDK: 4.0.5

Anything else?

No response

imdsafi09 commented 1 year ago

Hi @Rudiio , did you find any solution for this problem? I am facing the same issue.