title: In a virtual env the sys.path is wrong when I import a package from a file
body: <p>The sys.path change only if I import a package from another file.</p>
  
  <p>In my pyenv :</p>
  
  <pre><code>$(env) python
  &gt;&gt;&gt; import sys
  &gt;&gt;&gt; print(sys.path)
  ['', '/usr/lib/python3.4', '/usr/lib/python3.4/plat-x86_64-linux-gnu', '/usr/lib/python3.4/lib-dynload', '/var/www/lib/python3.4/site-packages']
  </code></pre>
  
  <p>In a fileImport.py (inside my virtual env) :</p>
  
  <pre><code># fileImport.py
  import sys
  print(sys.path)
  </code></pre>
  
  <p>the command :</p>
  
  <pre><code>$(env) python fileImport.py
  </code></pre>
  
  <p>gives me the same good result!</p>
  
  <p>But when I try to import the fileImport package from anotherfile.py like this :</p>
  
  <pre><code>#!/usr/bin/env python    
  # anotherfile.py    
  import fileImport
  </code></pre>
  
  <p>the sys.path result change :</p>
  
  <pre><code>$(env) python anotherfile.py
  ['/var/www', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']
  </code></pre>
  
  <p>I install pyenv like this :</p>
  
  <pre><code>$ sudo apt-get install python3.4-venv python3-dev
  $ pyvenv-3.4 env
  </code></pre>
  
  <p>I don't understand why the import from a file uses the sys.path from my system and not from my virtual env.</p>
  
  <p>Thank you in advance for your help.</p>