ImportError: Could not find 'cudart64_100.dll

前端 未结 7 897
南笙
南笙 2020-12-09 09:52

I\'m trying to install tensorflow-gpu==2.0.0-beta1 on my Windows 10 machine and got this error:

ImportError: Could not find \'cudart64_10

相关标签:
7条回答
  • 2020-12-09 10:24

    I have faced similar issue. I have added the directory of the cudart64_100.dll file to the PATH variable but still it prompts the error "cudart64_100.dll" not found. In the end I finally manage to make it work by adding the following codes. Hope it helps.

    import ctypes
    
    hllDll = ctypes.WinDLL("C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.0\\bin\\cudart64_100.dll")
    
    0 讨论(0)
提交回复
热议问题