After installing CUDA, if you are still getting this error, when you run
import tensorflow as tf
W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library ‘cudart64_110.dll’; dlerror: cudart64_110.dll not found
or
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.
Remove the existing version of python and install python 3.7.x and tensorflow v2.3. Then run
import tensorflow as tf
and if everything goes prefect, you will get this message
I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
which would mean all is good.. code away..