Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: Failed to load DLL while importing _dlib_pybind11: The specified module was not found #2810

Open
OnlyStopOnTop opened this issue Jun 9, 2023 · 1 comment
Labels

Comments

@OnlyStopOnTop
Copy link

What Operating System(s) are you seeing this problem on?

Windows

dlib version

19.24.2

Python version

Miniconda 3

Compiler

?

Expected Behavior

Tried to load a dlib DLL

Current Behavior

Got error:

ImportError: Failed to load DLL while importing _dlib_pybind11: The specified module was not found

Steps to Reproduce

Uninstalled and installed dlib 19.24.2

Anything else?

No response

@mtsnrtkhr
Copy link

I had same issue when I compile dlib with CUDA enabled.
In my case, the reason is the path of cuDNN.

"C:\Program Files\NVIDIA\CUDNN\v8.9.7.29\lib\cudnn.lib"

"import dlib" failed with that error.

When I move the filed under lib to "x64" as originally from cuDNN,zip

"C:\Program Files\NVIDIA\CUDNN\v8.9.7.29\lib\x64\cudnn.lib"

the problem solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants