title: Adding library directory to PyCharm
body: <p>On Ubuntu 15.10, I am running PyCharm Community Edition version 2016.1. I have a Python file which calls <code>import tensorflow</code>, a module which depends on the CUDA library <code>libcudart.so.7.5</code>. When I run this file, I get the following error message:</p>
  
  <pre><code>ImportError: libcudart.so.7.5: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>Now, the file <code>libcudart.so.7.5</code> is located on my machine at <code>/usr/local/cuda-7.5/lib64</code>. And in Pycharm, I have added this path to <code>File-&gt;Settings-&gt;Project Interpreter-&gt;Interpreter Paths</code>. So, I am puzzled as to why PyCharm cannot find <code>libcudart.so.7.5</code> given that the directory containing it is listed as an interpreter path.</p>
  
  <p>Furthermore, if I run this file from the command line, it runs fine without the above error. In my <code>.bashrc</code> file, I have the line:</p>
  
  <pre><code>export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH
  </code></pre>
  
  <p>So this seems to be allowing the library file to be found. But how can I get PyCharm to find the library? My understanding was that adding the path to the interpreter paths was the solution, but it seems that this may not be correct...</p>
  
  <p>Thanks!</p>