Pyzed import error

I am desparately trying to run the Zed 2 hello_zed sample. I have the following installed:

Cuda 11.0
Python 3.6.4

I continue to ge the following error

File “”, line 21, in
import as sl
ImportError: DLL load failed while importing sl: The specified module could not be found.

Can you please clearly explain how to fix this issue?

I have spent hours searching for a solution and it is extremely frustrating.

If I need to build from source can you please be clear and explain if I need to copy files to certain locations after building? I have tried all solutions that I have come across.

Did you install Python API? Depending on your platform, wherever you installed zed you should have a file that you can run and it will automatically install what you need for Python Development.

For Linux with default zed installation, it should be under “/usr/local/zed/” and you just run it with python.

Check this for more info:

Thanks for your reply. I am currently trying to install on a Windows 10 OS and yes I have installed the the Python API. I have tried numerous times with various SDK versions. Each time I have started from scratch, deleting the previously intalled SDK and the current version of python. Here is the process I have follwed:

Install python (I have tried with python 3.6 and python 3.9 and Anaconda 3.8)
Install ZED SDK ( I have tried 3.3, 3.4 and 3.5)
I run the script
Look in the python installation folder to confirm the existence of pyzed (with anaconda I can see that the pyzed directory has been created immediately after the script is done running)
Attempt to run the script

These step result in the following error:
import as sl
ImportError: DLL load failed while importing sl: The specified module could not be found.

I have read multiple comments about copying the dll files from the ZED SDK bin folder to the pyzed directory. Is this a necessary step? If so can you elaborate on what files should be copied to which location.

I can upload a video of the process if you believe that would be more helpful.

I figured out there was an unrelated issue with my graphics card that was causing issues. Thanks for the help