-
Notifications
You must be signed in to change notification settings - Fork 297
Open
Labels
Description
Bug Description
On Windows 11 + CUDA 13.0 + Python 3.12, import pycuda.driver raises
ImportError: DLL load failed while importing _driver: The specified module could not be found.
Even though ...\CUDA\v13.0\bin\x64 is present in the system PATH.
Minimal Reproduction
-
Install CUDA 13.0 Toolkit (default path)
-
Verify system PATH contains
...\CUDA\v13.0\bin\x64 -
Run the following Python code:
import pycuda.driver as drv
Error occurs every time.
Environment
OS Windows 11
Python 3.12
CUDA 13.0
PyCUDA 2025.1.2
Root Cause
CUDA 13.x relocates all 64-bit runtime DLLs from bin\ to bin\x64; this layout change applies to every 13.x release including 13.1.0/13.0.2/13.0.1/13.0.0 .
Reactions are currently unavailable