Skip to content

Driver DLL not found #493

Closed
Closed

Description

@jakubkvr

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!

Activity

  1. Repository owner locked and limited conversation to collaborators on Nov 25, 2025
  2. converted this issue into a discussion #494 on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions