I followed an instruction from a book and installed CUDA Toolkit version 9.2. Then I got this error
ImportError: Could not find 'cudart64_90.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 9.0 from this URL: https://developer.nvidia.com/cuda-toolkit
I searched and found that tensorflow needs 9.0, but what should I do next? Should I delete the old version of CUDA then install the 9.0 ver., or just install 9.0(so I would have two version co-existing)? I don't want to break my computer, help~~~
Edit:
I downloaded CUDA9.0 patch1 from the link: https://developer.nvidia.com/cuda-90-download-archive?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal . But it seems like the installer didn't work(it disappeared immediately when I double clicked it)?
From its forum: https://devtalk.nvidia.com/default/topic/493290/multiple-cuda-versions-can-they-coexist-/, they said multiple different version of CUDA can co-exist! Just download all versions you need and download all patches(blink or not) and corresponding cuDNN. I installed tensorflow in the virtual environment using conda and after installed all the stuff(restart computer/re-open command prompt several times) then it works now!
I had a same problem and then I solved it by changing python 3.5 to python 3.6. Hope you can solve it too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With