I am trying to install tensorflow with cuda and gpu support. When I try to import it, I get the following error:
Traceback (most recent call last):
File \"
I had cuda-9.0
installed and the LD_LIBRARY_PATH
was pointing to the correct location. Turned out that the permission of the folder /usr/local/cuda-9.0
was wrong. I could not even cd
to the folder. I changed the owner of the cuda-9.0
from root
to my-user-name
and after that python was able to find the missing library.