title: Vim with python support enviromental variables
body: <p>If i type in the vim command line</p>
  
  <pre><code>:python import os;print os.getenv('PYTHONPATH')
  </code></pre>
  
  <p>I get a path
  If i close vim and on the same terminal do</p>
  
  <pre><code>echo $PYTHONPATH
  </code></pre>
  
  <p>I get another completly different path
  Why is this, where is vim getting this path?
  This is relevant because the autocompletion can't find the modules thus it doesnt work.
  I know this because if i try, again from the vim cli</p>
  
  <pre><code>:python import django
  </code></pre>
  
  <p>It fails
  But if i exit vim and type</p>
  
  <pre><code>python
  &gt;&gt;&gt; import django
  </code></pre>
  
  <p>No errors are shown!
  Whats going on here?
  I'm using virtualenv and i checked the activate source and is not changing the PYTHONPATH.
  I tried this without virtualenv, same problem.</p>
  
  <p>Update:
  The line i used to configure the Vim source prior to compiling it</p>
  
  <blockquote>
    <p>./configure --prefix=${HOME}/apps/vim73 --with-features=huge
    --enable-gui=gnome2 --enable-pythoninterp --enable-rubyinterp
    --enable-multibyte --with-python-config-dir=/usr/lib/python2.6/config</p>
  </blockquote>