[Python] Proper way to install pip on Ubuntu

Discussão em 'Python' iniciado por Stack, Abril 5, 2025.

  1. Stack

    Stack Membro Participativo

    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

    Continue reading...

Compartilhe esta Página