WIN10_PYTHON_API pyzed.sl, import Error: DLL load

Hello and thank you for reaching us out,

A “simple” installation of the .whl will not work because Windows will not find the .dll file if you are using Python >=3.8.
To solve this :

  • Run python -m pip show pyzed
    You’ll obtain a directory.
  • Take the files sl_ai64.dll and sl_zed64.dll from C:/Program Files (x86)/ZED SDK/bin and copy them into the directory you obtained in the first step.
    Our get_python_api.py script does that already, but maybe yours failed for some reason.

Be aware that every python virtual environment needs its own pyzed installation and dll copies.

Regards
Antoine