pip安裝


官網:

猛擊

步驟如下:

 1 [root@localhost bak]# wget 'https://bootstrap.pypa.io/get-pip.py'
 2 --2016-04-04 17:43:40--  https://bootstrap.pypa.io/get-pip.py
 3 Resolving bootstrap.pypa.io... 185.31.19.175
 4 Connecting to bootstrap.pypa.io|185.31.19.175|:443... connected.
 5 HTTP request sent, awaiting response... 200 OK
 6 Length: 1522812 (1.5M) [text/x-python]
 7 Saving to: “get-pip.py”
 8 
 9 100%[=========================================================================>] 1,522,812    671K/s   in 2.2s
10 
11 2016-04-04 17:44:03 (671 KB/s) - “get-pip.py” saved [1522812/1522812]
12 [root@localhost bak]# python get-pip.py 13 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
14 Collecting pip
15   Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x386b090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/pip/
16 /tmp/tmpwb4cGz/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
17 /tmp/tmpwb4cGz/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
18   Downloading pip-8.1.1-py2.py3-none-any.whl (1.2MB)
19     100% |████████████████████████████████| 1.2MB 455kB/s
20 Collecting wheel
21   Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
22     100% |████████████████████████████████| 71kB 973kB/s
23 Collecting argparse (from wheel)
24   Downloading argparse-1.4.0-py2.py3-none-any.whl
25 Installing collected packages: pip, argparse, wheel
26   Found existing installation: argparse 1.2.1
27     Uninstalling argparse-1.2.1:
28       Successfully uninstalled argparse-1.2.1
29 Successfully installed argparse-1.4.0 pip-8.1.1 wheel-0.29.0
30 /tmp/tmpwb4cGz/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
31 [root@localhost bak]#

pip3 下載地址:

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM