ImportError: libcublas.so.9.0: cannot open shared object file
You will need to update your LD_LIBRARY_PATH
, so that it points to the /usr/local/cuda-9.0/lib64
.Add the following line to your .bashrc
file (or any other terminal you use)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/
The Tensorflow Binaries do not support Cuda 9.1 as of now. So the solution might be just installing Tensorflow from source.
I too had the above mentioned issue while I had installed Cuda 9.1+cuDNN 6 for Tensorflow and this is what worked for me.
Additionally, you have the following two options:
Try the following code
pip3 install --upgrade tensorflow-gpu==1.4
After you typing this command pip3 install --upgrade tensorflow-gpu==1.4
in the terminal, the tensorflow will downgrade to 1.4.0. This bug caused by tensorflow 1.6.0.