Hello Guys, How are you all? Hope You all Are Fine. Today I am Just Installed tensorflow and Now I am trying to run my program But I am facing following error Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found in python. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
- How Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found Error Occurs ?
- How To Solve Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found Error ?
- Solution 1: install tf-nightly-gpu
- Solution 2: Installation Process
- Solution 3: For CUDA 10
- Solution 4: Download cudart64_101
- Summary
How Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found Error Occurs ?
I am Just Installed tensorflow and Now I am trying to run my program But I am facing following error.
tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
How To Solve Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found Error ?
- How To Solve Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found Error ?
To Solve Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found Error First of all Install CUDA. Get it from here. Then Include CUDA path in PATH variable. Now, Install cuDNN Download cuDNN v7.6.4 for CUDA 10.1. This will require you to sign up to the NVIDIA Developer Program. Unzip to a suitable location and add the bin directory to your PATH. Now Install TensorFlow with this command pip install tensorflow Then Just Restart Your PC. Now your error must be solved.
- Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found
To Solve Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found Error First of all Install CUDA. Get it from here. Then Include CUDA path in PATH variable. Now, Install cuDNN Download cuDNN v7.6.4 for CUDA 10.1. This will require you to sign up to the NVIDIA Developer Program. Unzip to a suitable location and add the bin directory to your PATH. Now Install TensorFlow with this command pip install tensorflow Then Just Restart Your PC. Now your error must be solved.
Solution 1: install tf-nightly-gpu
Just After Tensor flow and CUDA You have to install tf-nightly-gpu using these command.
pip install tf-nightly-gpu
When Installation process finish You will get this message Successfully opened dynamic library cudart64_110.dll
Solution 2: Installation Process
- First of all Install CUDA. Get it from here.
- Then Include CUDA path in PATH variable.
- Now, Install cuDNN
- Download cuDNN v7.6.4 for CUDA 10.1. This will require you to sign up to the NVIDIA Developer Program.
- Unzip to a suitable location and add the bin directory to your PATH.
- Now Install TensorFlow with this command pip install tensorflow
- Then Just Restart Your PC.
- Now your error must be solved.
Solution 3: For CUDA 10
If You have CUDA 10 installed then Just Follow this solution. Just Install tensorflow gpu with this command and your error will be solved.
pip install tensorflow-gpu==2.0.0
And output will be
I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll
Solution 4: Download cudart64_101
Just download cudart64_101.dll
from here. Extract the zip file and copy the cudart64_101.dll
to your CUDA bin
directory
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read