-
Notifications
You must be signed in to change notification settings - Fork 900
ImportError: DLL load failed Windows Server 2016 on Python > 3.7 with CUDA prebuilt #955
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
Comments
Blame on Python team - they broke many things with Python 3.8 on Windows and
Dump If it is not enough then propose patch to upstream similar to https://github.com/opencv/opencv/pull/16503/files |
@opencv-alalek bingo. For anyone that needs it: https://docs.python.org/3.8/whatsnew/3.8.html#bpo-36085-whatsnew If you need the old Path behaviour efore you import cv2:
|
That approach maybe a bit heavy handed (or maybe not). As mentioned by @opencv-alalek if the missing dll is from the CUDA toolkit which is imported by config.py then you may have an incorrectly set |
Uh oh!
There was an error while loading. Please reload this page.
Unable to import DLL from https://github.com/cudawarped/opencv-python-cuda-wheels/releases/tag/4.9.0.80 version from @cudawarped on python > 3.7 on Windows Server 2016.
Having difficulty tracing down what's changed between python distribution between versions to determine why the import would be an issue with newer python versions on the same system.
Expected behaviour
E.g.: On Python 3.7:
Actual behaviour
On anything greater than 3.7. For example 3.9, but it happens for any other up to 3.11:
Steps to reproduce
Notes
The text was updated successfully, but these errors were encountered: