libcublas.so.8.0 error with tensorflow

libcublas so 8.0 tensorflow version
libcublas error tensorflow
importerror: libcusolver.so.8.0: cannot open shared object file: no such file or directory
importerror: libcublas.so.9.0: cannot open shared object file: no such file or directory
add libcublas to path
importerror: libcudart so 9.2 cannot open shared object file: no such file or directory
tensorflow gpu
install tensorflow-gpu ubuntu

I am currently trying to run a project from GitHub: https://github.com/nilboy/pixel-recursive-super-resolution

After installing ubuntu on VM, I installed python with tensorflow 2.7 using the pip command.

When I try to run the training session with python I get this error:

ImportError: libcublas.so.8.0: cannot open shared object file: No such file or directory

I could't find anything exactly the same, only this error: ImportError: libcudart.so.8.0: cannot open shared object file

I am using Yoga 13, so I don't have an NVIDIA GPU and I am trying to run this project on the CPU. Can you help identify the tensorflow problem?

Source: https://www.tensorflow.org/install/install_linux

You need to install Cuda 8.0 and configure the environment as below:

export PATH="$PATH:/usr/local/cuda-8.0/bin"
export LD_LIBRARY_PATH="/usr/local/cuda-8.0/lib64"

ImportError: libcublas.so.8.0: cannot open shared object file , ImportError: libcublas.so.8.0: cannot open shared object file: No such file or attempting to import Tensorflow in Python I get the following error:. I located libcublas.so in /usr/local/cuda/lib64. However, I see that it references a new version of the library (9.0.176), My question is whether something simple can be done (like creating a symbolic link to the library with the name of libcublas.so.8.0) or I have to wait for an update in TF that can run with Cuda9/cuDNN 7. Cheers! đź‘Ť

may be preinstalled tensorflow-gpu, so

pip3 install tensorflow --ignore-installed

as this helped me from stackoverflow

Error while using cuda-9.0, libcublas.so.8.0: cannot open shared , ImportError: libcublas.so.8.0: cannot open shared object file: No such file or directory" Look like tensorflow doesn't support Cuda-9.0? Error is  Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Tensroflow/Keras requirements

In my opinion the tricky steps are installing Nvidia drivers and Cuda-8. If you follow the instructions you're gonna have a bad time. Instead install it thru apt:

sudo apt-get install nvidia-384 #can type nvidia then hit "tab" to view all available options
sudo apt-get install cuda-8-0

If that doesn't work...good luck. You can try this:

Check that you do not have cuda-9: ls /usr/local

Install Cuda 8.0.

Reboot

Run export LD_LIBRARY_PATH=/usr/local/cuda-8.0/extras/CUPTI/lib64:$LD_LIBRARY_PATH but replace /usr/local/cuda-8.0/extras/CUPTI/lib64 with the relevant output from echo $LD_LIBRARY_PATH

Check that it worked nvcc --version prints out CUDA version

Using Cuda 10 and getting ImportError: libcublas.so.8.0: cannot , I am running an instance of tensorflow and am having the issue of ImportError: libcublas.so.8.0: cannot open shared object file: No such file or  Fixing TensorFlow libcublas.so.8.0: cannot open shared object file on Ubuntu Problem: When you run import tensorflow in Python, you get one of the following errors:

It may be an issue with the CUDA version installed. try $ sudo apt-get install cuda-8-0

ImportError: libcudart.so.8.0: cannot open shared object file: No such , Your issue is likely a generic CUDA installation issue rather than a TensorFlow specific problem. Installing nvidia drivers and cuda on Linux is  Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question.Provide details and share your research! But avoid …. Asking for help, clarification, or responding to other answers.

I got the same error while running Tensorflow with GPU support in Python and solved it like this:

$ export PATH="$PATH:/usr/local/cuda-8.0/bin" 
$ export LD_LIBRARY_PATH="/usr/local/cuda-8.0/lib64"

For enabling all users you may have to enter these export statements in etc/environments in Ubuntu

Error while using cuda-9.1, libcublas.so.8.0: cannot open shared , Should i install cuda 8.0 for resolving this problem? Issue :tensorflow not supporting cuda version greater than 8. The error is: import tensorflow  Hi, Currently working on some neural nets stuff with python 3.6.3, until now I was using tensorflow cpu and recently decided to switch to -GPU version.

Tensorflow 1.6 ALWAYS looking for libcublas.so.8.0 with Cuda 9.0 , Should i install cuda 8.0 for resolving this problem? "/opt/conda/lib/python3.6/​site-packages/tensorflow/python/pywrap_tensor. ImportError: libcublas.so.8.0: cannot open shared object file: No such file or directory #17147. When I attempt to import TensorFlow I get the following error: ImportError: libcublas.so.8.0: cannot open shared object file: No such file or directory. Indeed, I don't have libcublas.so.8.0 anywhere on my system. Instead, I have libcublas.so.9.0, apparently a version too high. Creating symlinks to these newer libraries tricks TensorFlow into

ImportError: libcublas.so.9.0: cannot open shared object file: No , Problem. Tensorflow is looking for libcublas.so.8.0 although I linked the cuda path during configuration to /usr/local/cuda-9.0 (also tried linking  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.

Fixing TensorFlow libcublas.so.8.0: cannot open shared object file , ImportError: libcublas.so.9.0: cannot open shared object file: No such file or I have 8.0, 9.0, 9.1 installed + cudnn versions which seem specific to each. This problem is caused tensorflow-gpu-1.5 required cuda 9.0 ,so you  Cuando bash ejecutar la sesión de entrenamiento con python, aparece este error: ImportError: libcublas.so.8.0: no se puede abrir el archivo de objeto compartido: no existe tal archivo o directorio. No pude encontrar nada exactamente igual, solo este error: ImportError: libcudart.so.8.0: no puedo abrir el archivo de objeto compartido

Comments
  • Were you able to find a solution Shimron? I am facing the same issue.
  • @Caesar just use tensorflow-gpu 1.5 with cuda 9.0
  • Thank you @nexoma. This worked for me. I have been at it since the past couple of hours.