On Ubuntu 10.04 by default Python 2.6 is installed, then I have installed Python 2.7. How can I use pip install
to install packages for Python 2.7.
For
If you have both 2.7 and 3.x versions of python installed, then just rename the python exe file of python 3.x version to something like - "python.exe" to "python3.exe". Now you can use pip for both versions individually. If you normally type "pip install " it will consider the 2.7 version by default. If you want to install it on the 3.x version you need to call the command as "python3 -m pip install ".