Tensorflow GPU - ImportError: Could not find 'nvcuda.dll'

37,391

Solution 1

First of all, my computer does not have an Nvidia card. So I can not install CUDA driver. I downloaded nvcuda.dll and executed

regsvr32  C:\Windows\System32\nvcuda.dll

instruction, they make a fire so as to compile all TensorFlow code that note

ImportError: Could not find 'nvcuda.dll'.

Anyway, please reinstall your TensorFlow:

pip uninstall protobuf 
pip uninstall tensorflow

and then

pip install protobuf 
pip install tensorflow

Solution 2

The error because , your system couldn't find CUDA enable for tensorflow-GPU version. Please refer link for installing tensorflow-GPU in here. If you want to access GPU version you have to install CUDA toolkit first. Make sure that when you are installing CUDA toolkit and cuDNN should support to your tensrflow version.

Share:
37,391
Admin
Author by

Admin

Updated on October 29, 2020

Comments

  • Admin
    Admin over 3 years

    ImportError: Could not find 'nvcuda.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Typically it is installed in 'C:\Windows\System32'. If it is not present, ensure that you have a CUDA-capable GPU with the correct driver installed.

    please solve this error i am doing FYP