change default pythonpath
<p>I have two python installation. One is installed in default location and other is installed in my home directory. I am using home directory python installation. I am facing problem about pythonpath. When I run sys.path on 2nd python installation it gives me paths for libraries of default python installation</p>

<p>eg.</p>

<p>2nd python is installed in <code>/home/python2.6.1</code>
now when i use <code>sys.path</code> it gives me</p>

<p><code>/lib/python2.6/lib-old, /lib/python2.6/lib-dynload</code> etc.</p>

<p>instead of </p>

<pre><code>/home/python2.6.1/lib/python2.6/lib-old, /home/python2.6.1/lib/python2.6/lib-dynload
</code></pre>

<p>how can I change path for my python installation in home directory</p>
