PDA

View Full Version : [all variants] installing pythontools



magnetpest2k7
October 22nd, 2011, 03:04 AM
I have to work on grid for which I need to install some python packages. I was trying to install pythonsetup tools, though the grid has python installed when i run python setup.py install it gives my Permission denied: '/usr/local/lib/python2.7/site-packages/test-easy-install-22642.write-test'.

Hence I went and installed python2.7 in my home directory which is in /userpath/Desktop/Python-2.7. Now can someone tell me how to do the following.

Change the python path to my Desktop/Python-2.7 ie when I run python it must not run from /usr/local/bin/python instead it must run from the python installed in my home/Desktop/Python-2.7 directory.

How to install setup tools to my home python directory?