Re: Easy Install: Creating a "Virtual" Python
"P.J. Eby" <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]> Wed, 17 Feb 2010 11:50:40 -0500
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <[email protected]> |
At 10:41 AM 2/17/2010 +0100, David Froger wrote: >bash$ which python >/home/myname/bin/python You need to check "which python2.5", because that's what: >sh setuptools-0.6c11-py2.5.egg --prefix=~ will try to run, not "python". And if python2.5 isn't the one in /home/myname/bin, then you'd get: >TEST FAILED: /home/dfroger/lib/python2.5/site-packages does NOT >support .pth files >error: bad install directory or PYTHONPATH However, if you have the right python2.5 on your path, you don't need to even use the --prefix option, since the /home/myname/lib will be that Python's *default* install location.