title: ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
body: <p>I installed <code>Tensorflow 1.6.0</code> - GPU version with anaconda in a Python 3.6.4 environment.</p>
  
  <p>When I do <code>import tensorflow as tf</code>, I get the following error:</p>
  
  <pre><code>ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>The different versions:</p>
  
  <ul>
  <li><code>cudnn : 7.1.1</code></li>
  <li><code>cuda : 9.0.176</code></li>
  <li><code>tensorflow : 1.6.0</code></li>
  <li><code>Ubuntu : 16.04</code></li>
  </ul>
  
  <p>I am aware of <a href="https://stackoverflow.com/questions/42013316/after-building-tensorflow-from-source-seeing-libcudart-so-and-libcudnn-errors">this</a> but it did not solve my problem.</p>