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: DLL load failed while importing _dlib_pybind11: Not Found。[Bug]: #2937
Comments
archspec @ file:///croot/archspec_1697725767277/work |
Don't do any of that other stuff, just do |
do pip install dlib .I can't use GPU to speed up computing |
I have encountered a similar problem, but the difference is that my Python version is 3.8. Do you know how to solve it? |
Sorry, I have not used other versions for testing, and I only successfully compiled on one computer. After I changed the computer, this error still occurred when I used the above version. I think it may be caused by some execution error of my step. |
Warning: this issue has been inactive for 35 days and will be automatically closed on 2024-05-27 if there is no further activity. If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search. |
What Operating System(s) are you seeing this problem on?
Windows
dlib version
19.24.99
Python version
3.12
Compiler
GCC 8.1 VS 2022
Expected Behavior
dlib.DLIB_USE_CUDA
TRUE
Current Behavior
use import dlib in python
error: ImportError: DLL load failed while importing _dlib_pybind11: not found。
in my env I can find this model
Only python3.12 have this error! 3.11or 3.10 can use
Steps to Reproduce
conda create --name demo
conda activate demo
pip install build cmake boost
python -m build --wheel
pip install dist\dlib-19.24.99-cp312-cp312-win_amd64.whl
python
import dlib
Anything else?
no
The text was updated successfully, but these errors were encountered: