[Python] How to install pip for Python 2

Discussão em 'Python' iniciado por Stack, Março 30, 2025.

  1. Stack

    Stack Membro Participativo

    I run

    python --version


    and get

    Python 2.7.3


    I run

    pip --version


    and get

    pip 1.5 from /usr/local/lib/python3.2/dist-packages/pip-1.5-py3.2.egg (python 3.2)


    I installed pip using apt-get. How to I get the Python 2 version of pip?

    I've reinstalled python and python-pip several times with apt-get. I'm also curious why these would install different Python versions.

    Continue reading...

Compartilhe esta Página