Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

libcublas.so.8.0 error with tensorflow

Tags:

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

like image 394
Shimron F Avatar asked Jul 01 '17 20:07

Shimron F


1 Answers

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"
like image 104
朱关兵 Avatar answered Sep 19 '22 18:09

朱关兵