linux 安装pip的方法

来源:互联网 发布:新百伦淘宝店 编辑:程序博客网 时间:2024/06/01 09:42

1、YUM安装

       联网情况下,

            yum -y install epel-release

             yum -y install python-pip



2、要安装或升级pip,需要下载 get-pip.py.

地址:https://bootstrap.pypa.io/get-pip.py

然后运行以下命令

python get-pip.py