Hy,<br><br>I&#39;m trying to install easyinstall without root privileges, using the procedure described in this page:<br><br><br>** virtual-python.py<br><br>I downloaded the script, executed it, all is ok.<br><br>** path modification<br>
<br>I added this line in my ~/.bashrc:<br><br>PATH=$HOME/bin:$PATH<br><br>then took the modification into account:<br><br>bash$ source ~/.bashrc<br><br>and checked python path:<br><br>bash$ which python<br>/home/myname/bin/python<br>
<br>I also checked sys.path:<br><br>bash$ python<br>&gt;&gt;&gt; import sys<br>&gt;&gt;&gt; print sys.path<br><br>the output, after some formatting, is:<br><br>&#39;&#39;<br>&#39;/home/myname/lib/python2.5&#39;<br>&#39;/home/myname/lib/python2.5/plat-linux2&#39;<br>
&#39;/home/myname/lib/python2.5/lib-tk&#39;<br>&#39;/home/myname/lib/python2.5/lib-dynload&#39;<br>&#39;/usr/local/lib/python2.5/site-packages&#39;<br>&#39;/home/myname/lib/python2.5/site-packages&#39;<br>&#39;/home/myname/lib/python2.5/site-packages/Numeric&#39;<br>
&#39;/home/myname/lib/python2.5/site-packages/PIL&#39;<br>&#39;/home/myname/lib/python2.5/site-packages/gst-0.10&#39;<br>&#39;/var/lib/python-support/python2.5&#39;<br>&#39;/home/myname/lib/python2.5/site-packages/gtk-2.0&#39;<br>
&#39;/var/lib/python-support/python2.5/gtk-2.0&#39;<br><br><br>Especially, I noted thas<br><br>/home/myname/lib/python2.5/site-packages<br><br>was in sys.path<br><br>** setuptools-0.6c11-py2.5.egg<br><br>I downloaded this script on <a href="http://pypi.python.org/pypi/setuptools">http://pypi.python.org/pypi/setuptools</a><br>
<br>and run it as:<br><br>sh setuptools-0.6c11-py2.5.egg --prefix=~<br><br>which give this error message:<br><br>TEST FAILED: /home/dfroger/lib/python2.5/site-packages does NOT support .pth files<br>error: bad install directory or PYTHONPATH<br>
<br>You are attempting to install a package to a directory that is not<br>on PYTHONPATH and which Python does not read &quot;.pth&quot; files from.  The<br>installation directory you specified (via --install-dir, --prefix, or<br>
the distutils default setting) was:<br><br>    /home/dfroger/lib/python2.5/site-packages<br><br>and your PYTHONPATH environment variable currently contains:<br><br>    &#39;&#39;<br><br>Here are some of your options for correcting the problem:<br>
<br>* You can choose a different installation directory, i.e., one that is<br>  on PYTHONPATH or supports .pth files<br><br>* You can add the installation directory to the PYTHONPATH environment<br>  variable.  (It must then also be on PYTHONPATH whenever you run<br>
  Python and want to use the package(s) you are installing.)<br><br>* You can set up the installation directory to support &quot;.pth&quot; files by<br>  using one of the approaches described here:<br><br>  <a href="http://peak.telecommunity.com/EasyInstall.html#custom-installation-locations">http://peak.telecommunity.com/EasyInstall.html#custom-installation-locations</a><br>
<br>Please make the appropriate changes for your system and try again.<br><br><br>If I understand, the solutions proposed in the error message are like in the page:<br><br><a href="http://peak.telecommunity.com/DevCenter/EasyInstall#traditional-pythonpath-based-installation">http://peak.telecommunity.com/DevCenter/EasyInstall#traditional-pythonpath-based-installation</a><br>
<br><br>What shoud I do to get the installation via &quot;Virtual&quot; Python working?<br><br>Thanks for your help!<br><br>David<br><br><br>