title: Import errors with Pycharm
body: <p>Edit: the problem is Pycharm is not loading <code>LD_LIBRARY_PATH</code> environment variable. Everything works if I add this into Pychar's environment. Why isn't it loading it?</p>
  
  <p>I'm having trouble importing modules for gnuradio. First, everything works if I just run the python file from the command line, and everything loads just fine in the interpreter. There is only a problem using pycharm. Furthermore, GNU Radio is installed correctly.</p>
  
  <pre><code>PYTHONPATH=/usr/local/lib/python2.7/site-packages
  </code></pre>
  
  <p>I added the python interpreter, and since the module loads fine from the interpreter I'm not sure why I had to add the path to pycharm. Anyways, I added the location where the the <code>gnuradio</code> module is: <code>/usr/local/lib/python2.7/site-packages/gnuradio</code>; however, it was wrong. The correct path to load was the parent directory: <code>/usr/local/lib/python2.7/site-packages</code>. I'm wondering why this is.</p>
  
  <p>More importantly, after loading the library I get this compiler error:</p>
  
  <pre><code>File "/usr/local/lib/python2.7/site-packages/gnuradio/gr/runtime_swig.py", line 24, in swig_import_helper
      _mod = imp.load_module('_runtime_swig', fp, pathname, description)
  ImportError: libgnuradio-pmt-3.7.2git.so.0.0.0: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>The file in question is located in <code>/usr/local/lib</code>, however I've added every possible path to tell it where it is but no luck. Also, I've added <code>/usr/lib:/usr/local/lib</code> to my <code>LD_LIBRARY_PATH</code> and ran ldconfig with no success. Only thing I could think of. </p>
  
  <p>What am I doing wrong?</p>
  
  <p>Again, everything works fine if I'm not using PyCharm. This is a question regarding Pycharm specifically.</p>