Python3 install pip

Original please indicate the source: https://www.cnblogs.com/agilestyle/p/12033910.html

 

curl https://bootstrap.pypa.io/get-pip.py | python3

 1 $ curl https://bootstrap.pypa.io/get-pip.py | python3
 2   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
 3                                  Dload  Upload   Total   Spent    Left  Speed
 4 100 1734k  100 1734k    0     0   488k      0  0:00:03  0:00:03 --:--:--  488k
 5 Collecting pip
 6   Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
 7      |████████████████████████████████| 1.4MB 549kB/s
 8 Installing collected packages: pip
 9   Found existing installation: pip 19.3.1
10     Uninstalling pip-19.3.1:
11       Successfully uninstalled pip-19.3.1
12 Successfully installed pip-19.3.1

 

pip --version

1 $ pip --version
2 pip 19.3.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)

Guess you like

Origin www.cnblogs.com/agilestyle/p/12033910.html