I am still attempting to set up python/django/pinax/PIL/pip/virturalevn
There is no one tutorial I found that explains this very well.
I did set up some links for python2.6
then read change the PATH=
after installing pip I get
pip command not found.
I am guessing because I need more links.
Can I just remove all links and change the bash profile?
If so how do I remove
sudo ln -s /opt/python2.6/lib/libpython2.6.so /usr/lib
sudo ln -s /opt/python2.6/lib/libpython2.6.so .1.0 /usr/lib
sudo ln -s /opt/python2.6/bin/python /usr/local/bin/python
sudo ln -s /opt/python2.6/bin/python /usr/bin/python2.6
sudo ln -s /opt/python2.6/lib/python2.6.so /opt/python2.6/lib/python2.6/config/
SO I CAN
vi .bash_profile
# add the following lines to the bottom of the file
alias python=’/opt/python2.6/bin/python’
alias python2.6=’/opt/python2.6/bin/python’
PATH=$PATH:/opt/python2.6/bin
# now do the same for every other user, like this:
vi /home/usera/.bash_profile
# add the following lines to the bottom of the file
alias python=’/opt/python2.6/bin/python’
alias python2.6=’/opt/python2.6/bin/python’
PATH=$PATH:/opt/python2.6/bin
There is no one tutorial I found that explains this very well.
I did set up some links for python2.6
then read change the PATH=
after installing pip I get
pip command not found.
I am guessing because I need more links.
Can I just remove all links and change the bash profile?
If so how do I remove
sudo ln -s /opt/python2.6/lib/libpython2.6.so /usr/lib
sudo ln -s /opt/python2.6/lib/libpython2.6.so .1.0 /usr/lib
sudo ln -s /opt/python2.6/bin/python /usr/local/bin/python
sudo ln -s /opt/python2.6/bin/python /usr/bin/python2.6
sudo ln -s /opt/python2.6/lib/python2.6.so /opt/python2.6/lib/python2.6/config/
SO I CAN
vi .bash_profile
# add the following lines to the bottom of the file
alias python=’/opt/python2.6/bin/python’
alias python2.6=’/opt/python2.6/bin/python’
PATH=$PATH:/opt/python2.6/bin
# now do the same for every other user, like this:
vi /home/usera/.bash_profile
# add the following lines to the bottom of the file
alias python=’/opt/python2.6/bin/python’
alias python2.6=’/opt/python2.6/bin/python’
PATH=$PATH:/opt/python2.6/bin