Proper way to install pip on Ubuntu

前端 未结 8 1374
死守一世寂寞
死守一世寂寞 2021-01-31 08:34

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-

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-31 09:05

    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

    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

提交回复
热议问题