Using pip with different python versions

Using pip with different python version

Let us say that you have python2 and python3 installed.

Use pip for python2

pip2.6 install otherpackage
pip2.7 install mybarpackage

You can see which version of python pip is using by default with:

pip -V

Source: http://stackoverflow.com/questions/6504810/how-to-install-lxml-on-ubuntu?answertab=votes#tab-top

Comments

Comments powered by Disqus