title: Python script run on command line can't find site packages
body: <p>I've written a Python application with Python 2.7 using PyDev for Eclipe, where the script executes perfectly. However, if I try to run it on the command line, I get the following error:</p>
  
  <pre><code>importError: No module named openpyxl
  </code></pre>
  
  <p>openpyxl is one of the external libraries I use in my application. I searched for solutions and found multiple threads, some of which on this site. All of them handled modules that were created by the programmer himself and requires appending the src folder to the path. This doesn't work for me. I also tried adding the site package directory to my Python Path, but still the error remains.</p>
  
  <p>Also, the script that is run (main.py) is located in the src directory, like so:</p>
  
  <pre><code>/Crawler/
      /src
          __init__.py
          main.py
          /Crawlers
              __init__.py
              Crawler1.py
              Crawler2.py
  </code></pre>
  
  <p>How do I configure my script so it finds all external libraries when executed from the command line?</p>