I am trying to install virtual python on a linux server that does not have root access. I read the PEAK guide for custom installation, but I still can’t understand what I am doing wrong.
Here are my settings:
created by .pythdisutils.cfg
[install] install_lib = /home2/me/lib install_scripts = /home2/me/bin
Python env path in .bashrc:
export PYTHONPATH="${PYTHONPATH}:~/lib/"
virtual python is set to:
~/lib/python2.4/site-packages ~/bin/python
I tried these codes but failed:
sh setuptools-0.6c11-py2.4.egg sh setuptools-0.6c11-py2.4.egg --prefix=~ ...
Error:
TEST FAILED: /home2/me/lib/ does NOT support .pth files error: bad install directory or PYTHONPATH You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via
source share