libcublas.so.8.0 error with tensorflow

Viewed 48062

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

6 Answers

may be preinstalled tensorflow-gpu, so

pip3 install tensorflow --ignore-installed

as this helped me from stackoverflow

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

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

Related