Arch Linux
$ sudo pacman -S python-pip
Ubuntu / Debian
$ sudo apt-get install python-pip
Fedora
$ su
$ dnf install python-setuptools
$ dnf upgrade python-setuptools
$ dnf install python-pip python-wheel
OpenSUSE
$ sudo zypper install python3-pip python3-setuptools python3-wheel
CentOS / RHEL
$ curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
$ python get-pip.py
或
$ su
$ yum install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ yum -y update
$ yum -y install python-pip
$ pip -V
$ pip install --upgrade pip
没有评论:
发表评论