[PEAK] Easy Install: Creating a "Virtual" Python
P.J. Eby
pje at telecommunity.com
Wed Feb 17 11:50:40 EST 2010
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.
More information about the PEAK
mailing list