ImportError: Could not find 'cudart64_100.dll

前端 未结 7 917
南笙
南笙 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:22

    I had similar error:

    cudart64_101.dll not found

    It is because the latest version of CUDA requires older CUDA-version.dll files to work properly. The solution would be try installing the previous version of CUDA.

    Once you have downloaded CUDA 10.1 run the .exe file which will first extract the necessary files in C:\Users\your_user_name\AppData\Local\Temp\CUDA.

    Once the extraction is completed do not proceed with the installation navigate to the directory C:\Users\your_user_name\AppData\Local\Temp\CUDA\cudart\bin and here you will find the missing DLL file cudart64_101.dll and cudart32_101.dll copy both the files to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin and then cancel the installation.

    Follow the same steps for any CUDA version will work for sure. Hope this helps thank you!!!

提交回复
热议问题