I am getting this error when I want to import tensorflow-gpu on Ubuntu 16.04.
I have installed CUDA 9.1 properly, cudNN 7.1 properly and tested both without facing any problem. (using python 3.5 2.)
I have used pip3 in either ways (with several tensorflow versions): i tried:
#for tensoflow 1.4 pip3 install tensorflow-gpu==1.4 # for tensorflow 1.8 from source pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0rc1-cp35-cp35m-linux_x86_64.whl
I have tried to install several versions of tensorflow-gpu , 1.4, 1.5 , 1.8 ,1.9. still getting the same error, when running
import tensorflow as tf ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory
Is there any way to get rid of this? or it is just installing cuda 9.0 ( which will be the pain as it took a week for me to install the cuda 9.1 due to problems of nvidia and Ubuntu !)
I also installed libcupti (required) and Bazel (required). from this page: http://www.python36.com/install-tensorflow141-gpu/2/
moreover, i have installed the same setup on windows (tensorflow 1.8 , cuda 9.1) without any problem.