Search code examples
pythontensorflowpycharm

How can I fix cudart64_110.dll error which caused from Tensorflow in Pycharm?


I have a problem about fixing cudart64_110.dll error which caused by Tensorflow in Pycharm.

In order to fix it, I downloaded its file from this link which is shown below.

https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exenetwork

However, it still shows this kind of error.

Here is my code which is shown below.

# Import TensorFlow
import tensorflow as tf
print(tf.__version__)

Here is my warning issue which is shown below.

2021-06-09 22:08:07.032388: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2021-06-09 22:08:07.033945: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

Here is my path to show the support of a cudo on my computer.

Link Image

How can I fix it?


Solution

  • cudart64_110.dll

    You need the CUDA installation for 11.0 (“...110.dll”). You have 10.1 right now, which was what was necessary for the person who asked for “...101.dll” in this question I’m guessing you read, but is not useful for you.