标签:python pip
// wget pip
[root@wode003 tools]# wget https://bootstrap.pypa.io/get-pip.py
--2015-06-25 14:40:46-- https://bootstrap.pypa.io/get-pip.py
正在解析主机 bootstrap.pypa.io (bootstrap.pypa.io)... 103.245.222.175
正在连接 bootstrap.pypa.io (bootstrap.pypa.io)|103.245.222.175|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1421845 (1.4M) [text/x-python]
正在保存至: “get-pip.py”
100%[======================================>] 1,421,845 57.8KB/s 用时 20s
2015-06-25 14:41:07 (70.8 KB/s) - 已保存 “get-pip.py” [1421845/1421845])
[root@wode003 tools]#
// run
[root@wode003 tools]# python get-pip.py
/tmp/tmpLrr3ct/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: 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.
Collecting pip
/tmp/tmpLrr3ct/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: 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.
Downloading pip-7.0.3-py2.py3-none-any.whl (1.1MB)
100% |████████████████████████████████| 1.1MB 223kB/s
Collecting wheel
Downloading wheel-0.24.0-py2.py3-none-any.whl (63kB)
100% |████████████████████████████████| 65kB 221kB/s
Installing collected packages: pip, wheel
Successfully installed pip-7.0.3 wheel-0.24.0
[root@wode003 tools]#
标签:python pip
原文地址:http://huangchao.blog.51cto.com/10446378/1665567