{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5343","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5343/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5343/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5343/events","html_url":"https://github.com/tensorflow/tensorflow/issues/5343","id":186692320,"number":5343,"title":"ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory","user":{"login":"NHQ","id":194352,"avatar_url":"https://avatars.githubusercontent.com/u/194352?v=3","gravatar_id":"","url":"https://api.github.com/users/NHQ","html_url":"https://github.com/NHQ","followers_url":"https://api.github.com/users/NHQ/followers","following_url":"https://api.github.com/users/NHQ/following{/other_user}","gists_url":"https://api.github.com/users/NHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/NHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NHQ/subscriptions","organizations_url":"https://api.github.com/users/NHQ/orgs","repos_url":"https://api.github.com/users/NHQ/repos","events_url":"https://api.github.com/users/NHQ/events{/privacy}","received_events_url":"https://api.github.com/users/NHQ/received_events","type":"User","site_admin":false},"labels":[{"id":473173351,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install","name":"type:build/install","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-02T01:43:16Z","updated_at":"2017-02-09T19:25:05Z","closed_at":"2016-11-02T03:53:53Z","body":"I have installed cuda 7.5, not 8, but when I get this error when I try to import tensflow (having installed ts binaries for 7.5, gpu, linux).  I have tried un- and re-installing everything repeatedly.  I may have at one time attempted to install cuda 8 in the past, but 7.5 is in my $path.\r\n\r\nthe complete error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py\", line 23, in <module>\r\n    from tensorflow.python import *\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py\", line 49, in <module>\r\n    from tensorflow.python import pywrap_tensorflow\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py\", line 28, in <module>\r\n    _pywrap_tensorflow = swig_import_helper()\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py\", line 24, in swig_import_helper\r\n    _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)\r\nImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/278745407","html_url":"https://github.com/tensorflow/tensorflow/issues/5343#issuecomment-278745407","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5343","id":278745407,"user":{"login":"aselle","id":326106,"avatar_url":"https://avatars.githubusercontent.com/u/326106?v=3","gravatar_id":"","url":"https://api.github.com/users/aselle","html_url":"https://github.com/aselle","followers_url":"https://api.github.com/users/aselle/followers","following_url":"https://api.github.com/users/aselle/following{/other_user}","gists_url":"https://api.github.com/users/aselle/gists{/gist_id}","starred_url":"https://api.github.com/users/aselle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aselle/subscriptions","organizations_url":"https://api.github.com/users/aselle/orgs","repos_url":"https://api.github.com/users/aselle/repos","events_url":"https://api.github.com/users/aselle/events{/privacy}","received_events_url":"https://api.github.com/users/aselle/received_events","type":"User","site_admin":false},"created_at":"2017-02-09T19:25:05Z","updated_at":"2017-02-09T19:25:05Z","body":"@silentsnooc,   you probably should open a new issue with full context of your install environment ( we have an issue template). However, here is generic information:\r\n\r\n1. `dpkg -L <package>` will list files installed by installing a deb. You can also use `find` or `locate` to find the file if that doesn't help.  \r\n\r\n2. If you can't find libcudart.so.8.0, install CUDA properly (possibly manually). If you cannot run NVidia CUDA demos, CUDA is not installed properly. Sometimes it is better to use the NVidia shell script install method rather than a debian package to install both the NVidia driver and the CUDA toolkit. I find that works more reliably. However, if you do this, you must be careful to remove all .deb related cuda information. I'd suggest finding a good tutorial online on installing NVidia kernel drivers and cuda toolkit and following them. \r\n\r\n3. Try TensorFlow. If it can't find find  libcudart.so.8.0, add the directory that contains it to LD_LIBRARY_PATH environment variable.\r\n\r\nYour issue is likely  a  generic CUDA installation issue rather than a TensorFlow specific problem.  Installing nvidia drivers and cuda on Linux is harder than one would like. Sometimes it goes smoothly, but often it does not.\r\n\r\nThanks!\r\n\r\n"}}
{"actor":{"display_login":"aselle"}}