Reputation: 89
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
Upvotes: 4
Views: 43723
Reputation: 51
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
Upvotes: 4
Reputation: 422
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.
Upvotes: 2