Hello,
I have installed the latest version of Pycuda, but when importing it, I get the following error:
File "c:\Users\Documents\code\testcuda.py", line 6, in <module>
import pycuda.autoinit # noqa
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\pycuda\autoinit.py", line 5, in <module>
import pycuda.driver as cuda
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\pycuda\driver.py", line 70, in <module>
from pycuda._driver import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing _driver: The specified module could not be found.
WIndows 11 x64
CUDA 13.0 (It does work with 12.9)
Pycuda installed via pip install pycuda (2025.1.2)
Dependency walking on the driver pyd shows no errors
CUDA is added to PATH
CUDA_PATH is correct
I have tried every fix I could find, but was unable to resolve it. Help would be much appreciated!
Hello,
I have installed the latest version of Pycuda, but when importing it, I get the following error:
WIndows 11 x64
CUDA 13.0 (It does work with 12.9)
Pycuda installed via pip install pycuda (2025.1.2)
Dependency walking on the driver pyd shows no errors
CUDA is added to PATH
CUDA_PATH is correct
I have tried every fix I could find, but was unable to resolve it. Help would be much appreciated!