Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory #15817

Closed
yangfengKAUST opened this issue Jan 3, 2018 · 6 comments

Comments

@yangfengKAUST
Copy link

yangfengKAUST commented Jan 3, 2018

I met the same problem as ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory , #15604 , but non of their methods work.

@IronWolve
Copy link

Same issue, but its because I have 9.1 installed and 9.0 is the version supported in tf-nightly. Was hoping tf-nightly would include 9.1 support.

@gunan
Copy link
Contributor

gunan commented Jan 3, 2018

I apologize but I am having a hard time understanding what the problem is, where the problem is, and what version it affects. Please resubmit and pay attention to the issue template (https://github.com/tensorflow/tensorflow/issues/new) . Please provide all the information it asks. Thank you.

@gunan gunan closed this as completed Jan 3, 2018
@KeithAymar
Copy link

Just install 9 with 9.1

sudo apt-get install cuda-9-0

@justinsj
Copy link

justinsj commented Feb 7, 2018

@KeithAymar I have tried to use that command but I get the following error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cuda-9-0

Could you please advise what to do? Thanks in advance!

@KeithAymar
Copy link

I don’t know for sure. I’m an a noob with this. Took me a few days to get things working. Anytime something doesn’t work quite right I make sure to do before running any install commands.

sudo apt-get update

Sounds like you don’t have the packages set up for install.

These are the instructions I followed when I installed 9.1. Be sure all the prerequisites are complete. I am using a minimal install of Lubuntu. But there are instructions for other flavors.

http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation

@ricoms
Copy link

ricoms commented Mar 31, 2018

I use Ubuntu 1604, I installed cuda 9.1 following the instructions here: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation

When importing tensorflow happened the same problem as OP.

I used the command:

sudo apt-get install cuda-9-0

And it solved my issue, I now finally have tensorflow-gpu running

Thanks @KeithAymar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants