Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upUnable to locate package cuda-command-line-tools #16214
Comments
This comment has been minimized.
This comment has been minimized.
As part of an answer to your email @Queequeg92 export CUPIT_LIB_PATH=${OPT_PATH}/cuda/toolkit_9.0/cuda/extras/CUPTI/lib64
export LD_LIBRARY_PATH=${CUPIT_LIB_PATH}:$LD_LIBRARY_PATH (same for Toolkit 8.0) user@host $ ll ${OPT_PATH}/cuda/toolkit_9.0/cuda/extras/CUPTI/lib64
libcupti.so
libcupti.so.9.0
libcupti.so.9.0.176*
user@host $ locate libcupti.so
/usr/lib/x86_64-linux-gnu/libcupti.so
/usr/lib/x86_64-linux-gnu/libcupti.so.7.5
/usr/lib/x86_64-linux-gnu/libcupti.so.7.5.18 The correct package for apt-get would be |
This comment has been minimized.
This comment has been minimized.
Tensorflow's Linux installation guide is misleading. Try a search and here is the result. $ sudo apt-cache search cuda-command-line-tool What you should run is something like "sudo apt install cuda-command-line-tools-9-1" |
This comment has been minimized.
This comment has been minimized.
Nagging Awaiting Response: It has been 14 days with no activityand the |
This comment has been minimized.
This comment has been minimized.
@tensorflowbutler yup still an issue. @cyrilzh solution works. tensorflow documentation here has to be updated : sudo apt-cache search cuda-command-line-tools-9-0 |
This comment has been minimized.
This comment has been minimized.
Hello Team, |
This comment has been minimized.
This comment has been minimized.
I am in the same boat as AIGyan. Unable to locate command line tools package. |
This comment has been minimized.
This comment has been minimized.
@AIGyan @bjenkinsgit Like @cyrilzh suggested do but don't do use cuda-command-line-tools-9-1, uninstall cuda 9-1 and install cuda-9-0. hope it helps. |
This comment has been minimized.
This comment has been minimized.
@bjenkinsgit @AIGyan I'm using Ubuntu 16.04 and I resolved the issue by downloading the package from http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/
This will also install |
This comment has been minimized.
This comment has been minimized.
@lejafar I had installed Cuda 9.0 from Nvidia + cudnn 7 and when I tried your suggestion...
|
This comment has been minimized.
This comment has been minimized.
In the end I downloaded the Tensorflow 9.1 source, installed bazel and other tools and compiled the source for my GPU. I now have Tensorflow 9.1, cudnn 7.0.5 running on Ubuntu 17.10. |
This comment has been minimized.
This comment has been minimized.
I tried |
This comment has been minimized.
This comment has been minimized.
Same here... Did you perhaps find a solution? |
This comment has been minimized.
This comment has been minimized.
Based on @lejafar 's suggestion, I downloaded http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-command-line-tools-9-1_9.1.85-1_amd64.deb and then ran
However, it will remind you to install some dependency packages first, such as cuda-nvprof-9-1. Thus I installed all dependency packages and then installed cuda-command-line-tools-9-1 successfully. |
This comment has been minimized.
This comment has been minimized.
Yes, this is still an issue, @tensorflowbutler |
This comment has been minimized.
This comment has been minimized.
This is not necessary. CUPTI has been installed along with CUDA. |
This comment has been minimized.
This comment has been minimized.
Do following things. Hope it helps : Download cuDNN for 9.0 (You need to register before downloading) $ sudo dpkg -i libcudnn7_7.1.2.21-1+cuda9.0_amd64.deb Close all terminal and open new You should not get any error now. @NataliaDiaz @Netroman @zxr12748 |
This comment has been minimized.
This comment has been minimized.
importing tensorflow doesn't necessarily check if cuda is installed, I may be wrong. |
This comment has been minimized.
This comment has been minimized.
@cyrilzh solution worked (sudo apt install cuda-command-line-tools-9-0), however it apparently got installed already somewhere along the way (i installed nvidia gpu driver, cuda 9.0, cudnn 7.0.5 runtime and cudnn 7.0.5 dev lib). |
This comment has been minimized.
This comment has been minimized.
It should be installed already, just set the env to path is fine. |
This comment has been minimized.
This comment has been minimized.
As pointed out by @vissac and @manbharae, cuda-command-line-tools-9-0 is already installed when you load cuda. (I had to install the CUDA package using the local deb) |
This comment has been minimized.
This comment has been minimized.
It has been 14 days with no activity and the |
This comment has been minimized.
This comment has been minimized.
I solved the problem and got 9.1 installed. |
This comment has been minimized.
This comment has been minimized.
The documentation is still incorrect at the moment. |
This comment has been minimized.
This comment has been minimized.
@lejafar Prior to installing that package, you installed and cuda package using dpkg? I started with ony the vnidia drivers install, the I followed your comment but had the same error as @themightyoarfish . After that whenever I use |
This comment has been minimized.
This comment has been minimized.
After about literally an hour of dependency hell, I managed to find all the |
This comment has been minimized.
This comment has been minimized.
I also faced the same issue @Queequeg92 then i tried |
System information
Describe the problem
In the official installing guide of r1.5, the libcupti-dev library is required to run tensorflow with GPU support. When issue the following command line for CUDA Toolkit >= 8.0:
$ sudo apt-get install cuda-command-line-tools
I got this error:
$ E: Unable to locate package cuda-command-line-tools
It can't be solved after updating source list.
I have tried on my desktop and a VM instance on Google Cloud Platform, both with Linux Ubuntu 16.04.
Source code / logs