DLL load failed on Windows with CUDA 13.0 Toolkit
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 298
- Avg merge
- 4m
- Merged PRs (30d)
- 1
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
1. Install **CUDA 13.0 Toolkit** (default path)
2. Verify system PATH contains `...\CUDA\v13.0\bin\x64`
3. Run the following Python code:
```python
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 .
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.