17

янв

Pip is a package manager for Python and lets you easily install packages from the Python Package Index. Learn how you can install Pip in Ubuntu.

Active1 month ago

I'm trying to install the latest version of pip (currently 8.1.2) on the official ubuntu/trusty64 Vagrant box. The box comes with Python 2.7.6 and 3.4.3 pre-installed with apt-get.

I read the pip installation doc and it contains the following warning:

Be cautious if you're using a Python install that's managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state.

Does that mean I cannot install pip using get-pip.py and I am limited to install an older version of it from apt-get?

If there is a better way of installing it, what would it be?

Thanks

peflorenciopeflorencioUbuntu
1,0002 gold badges17 silver badges30 bronze badges

7 Answers

I believe that you can install it on Ubuntu with

or

for Python 3. Sure, it's an older version but its functionality is there.

Michael ZhangMichael Zhang

Try download install package from https://pypi.python.org/pypi/pip#downloads and use python setup.py install

MartinPMartinP

if it is outdated you can use the following command: sudo pip install --upgrade pip

André HulsmanAndré Hulsman

If you are using Ubuntu OS with Python2.7 You can follow below steps

apt-get update

apt-get upgrade

apt-get install python-pip

To check install pip version

Spore civilization types. Davo's Spore Mods. Davo's Released Mods, and Some Unreleased. These are made for Galactic Adventures with patch 5.1, but some of them may still work on Core Spore. No harm can come from trying. Mods that edit the game editors can be found here. Creature stage related mods. Tribal stage related mods. Civilization stage related mods.

pip --version

OR

If you are using Ubuntu OS with Python3 You can follow below steps

apt-get update

apt-get upgrade

apt-get install python3-pip

To check install pip3 version

pip3 --version

SantoshSantosh

The proper commands to install pip and pip3 should be the following:

The last two lines get pip3 and pip up-to-date. The last line is critical because it re-associates pip with python 2.

MikeMike
Hamed JalilianiHamed Jaliliani
  • sudo apt-get update;
  • sudo apt-get install python-pip;

Once the installation is complete, verify the installation by checking the pip version:

  • pip --version;
barbsan
3,0378 gold badges15 silver badges26 bronze badges
roshan poddarroshan poddar

Not the answer you're looking for? Browse other questions tagged pythonpip or ask your own question.