Upon hitting
make install
I get the following error
/usr/bin/install: cannot create regular file /usr/local/bin/python2.6: Permission denied make: *** [altbininstall] Error 1
I am not the root user so I assume its a permissions issue. I do have my own subfolder at /home/my_username
Is there a way to complete the python installation there by giving a more specific command perhaps?
Also Python 2.4 is already installed how do I ensure that I am actually using 2.6?
Thanks alot!
The
configure
script lets you specify--prefix=[dest]
. From the usage:So to install under
py26
in your home directory:To use this on a more permanent basis, add
$HOME/bin
to yourPATH
variable in your~/.bashrc
(or other shell rcfile). To verify which Python you're using, do this:Make sure you don't have a typo in the
--prefix
or the assignment toPATH
. For example: