title: Tensorflow: ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory
body: <p>I'm having problems in importing tensorflow in python3:</p>
  
  <pre><code>&gt;&gt;&gt; import tensorflow as tf
  Traceback (most recent call last):
    File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in &lt;module&gt;
      from tensorflow.python.pywrap_tensorflow_internal import *
    File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in &lt;module&gt;
      _pywrap_tensorflow_internal = swig_import_helper()
    File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
      _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
    File "/usr/lib/python3.5/imp.py", line 242, in load_module
      return load_dynamic(name, filename, file)
    File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
      return _load(spec)
  ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python3.5/dist-packages/tensorflow/__init__.py", line 24, in &lt;module&gt;
      from tensorflow.python import *
    File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/__init__.py", line 51, in &lt;module&gt;
      from tensorflow.python import pywrap_tensorflow
    File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 52, in &lt;module&gt;
      raise ImportError(msg)
  ImportError: Traceback (most recent call last):
    File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in &lt;module&gt;
      from tensorflow.python.pywrap_tensorflow_internal import *
    File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in &lt;module&gt;
      _pywrap_tensorflow_internal = swig_import_helper()
    File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
      _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
    File "/usr/lib/python3.5/imp.py", line 242, in load_module
      return load_dynamic(name, filename, file)
    File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
      return _load(spec)
  ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory
  
  
  Failed to load the native TensorFlow runtime.
  
  See https://www.tensorflow.org/install/install_sources#common_installation_problems
  
  for some common reasons and solutions.  Include the entire stack trace
  above this error message when asking for help.
  </code></pre>
  
  <p>I am using Nvidia drivers version 381.09 beta, as version 375 has this bug: <a href="https://askubuntu.com/questions/896221/strange-artifacts-along-window-borders-after-waking-computer-from-sleep-mode?noredirect=1&amp;lq=1">https://askubuntu.com/questions/896221/strange-artifacts-along-window-borders-after-waking-computer-from-sleep-mode?noredirect=1&amp;lq=1</a></p>
  
  <p>I have install CUDA 8.0 and cuDNN-v6.0:</p>
  
  <pre><code>rharish@rharish-GL552VW:~$ cd /usr/local
  rharish@rharish-GL552VW:/usr/local$ ls
  bin         cuda      etc    include  man   share
  computecpp  cuda-8.0  games  lib      sbin  src
  </code></pre>
  
  <p>Also, libcusolver.so.8.0 exists in /usr/local/cuda/lib64/:</p>
  
  <p><a href="https://i.stack.imgur.com/ul5x4.jpg" rel="noreferrer">libcusolver.so.8.0 in 'ls' output</a></p>
  
  <p>I have uninstalled and reinstalled CUDA, cuDNN, and built tensorflow from sources. This problem has been occuring since updating the Nvidia drivers to version 381.09 beta. Any help?</p>