Python pyzed.sl not recognized

Hello,
Impossible to resolve this line:
import pyzed.sl as sl

Which Python version should I use ?
How to do ?

Thank you,
Christophe

Hello @cjacquel, welcome to the forums

The latest versions of the SDK should be compatible with Python 3.10 and 3.11, I think we’re not yet compatible with the 3.12.

Were you able to run the Python wrapper installer without issues?

In Pyzed, METADATA Files there is : Requires-Python: >=3.3

Which Python version to use? thx

@cjacquel
Thank you for the report. Please use Python 3.10 or 3.11.

Hello

I use the PyCharm IDE but it still not working.

Do you have a starter sample project to download?
Thx

Bonjour,

I’m not too knowledgeable about PyCharm, but I think this guide for Anaconda should at least partly apply: ZED Python API within a Virtual Environment - Stereolabs

Have you installed the Python wrapper via the get_python_api.py script in your virtual environment?
Please share an error message and/or a screenshot of your IDE/configuration/the problem, it will help us pinpoint the issue.

Hello,
Its work now.
I have copied get_python_api in my project folder of my Pycharm project, and then start the get_python_api.

Thx