get-pip.py 文件内容来源于(将网页内容保存)

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

报错信息

D:\softs\python\Python27>python get-pip.py

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

Collecting pip

c:\users\zhenhua\appdata\local\temp\tmpcjyvwz\pip.zip\pip\_vendor\urllib3\util\ssl_.py:354: SNIMissingWarning: An HTTPS request has been made, but the SNI (Server 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. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

c:\users\zhenhua\appdata\local\temp\tmpcjyvwz\pip.zip\pip\_vendor\urllib3\util\ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\zhenhua\appdata\local\temp\tmpcjyvwz\pip.zip\pip\_vendor\urllib3\util\ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\zhenhua\appdata\local\temp\tmpcjyvwz\pip.zip\pip\_vendor\urllib3\util\ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\zhenhua\appdata\local\temp\tmpcjyvwz\pip.zip\pip\_vendor\urllib3\util\ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\zhenhua\appdata\local\temp\tmpcjyvwz\pip.zip\pip\_vendor\urllib3\util\ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\zhenhua\appdata\local\temp\tmpcjyvwz\pip.zip\pip\_vendor\urllib3\util\ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '_ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)) - skipping

Could not find a version that satisfies the requirement pip (from versions: )

No matching distribution found for pip

解决方案:

D:\softs\python\Python27>python get-pip.py -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

Looking in indexes: http://pypi.douban.com/simple/

Collecting pip

Downloading http://pypi.doubanio.com/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl (1.4MB)

100% |████████████████████████████████| 1.4MB 5.1MB/s

Collecting setuptools

Downloading http://pypi.doubanio.com/packages/c8/b0/cc6b7ba28d5fb790cf0d5946df849233e32b8872b6baca10c9e002ff5b41/setuptools-41.0.0-py2.py3-none-any.whl (575kB)

100% |████████████████████████████████| 583kB 5.4MB/s

Collecting wheel

Downloading http://pypi.doubanio.com/packages/96/ba/a4702cbb6a3a485239fbe9525443446203f00771af9ac000fa3ef2788201/wheel-0.33.1-py2.py3-none-any.whl

Installing collected packages: pip, setuptools, wheel

The script wheel.exe is installed in 'D:\softs\python\Python27\Scripts' which is not on PATH.

Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Successfully installed pip-19.0.3 setuptools-41.0.0 wheel-0.33.1

window10安装python2.7_window10下python2.7安装pip报错相关推荐

  1. 已安装Anaconda情况下,命令行pip,python报错(详细 已解决)

    已安装Anaconda情况下,命令行pip,python报错(已解决) 这是报错截图 解决方案如下: 1.首先可以去找到anaconda文件夹,并打开该文件目录下的Script文件夹,查看是否有pip ...

  2. cmd输入pip报错_安装pip报错:WARNING: Retrying (Retry(total=4,...

    安装pip报错:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) afte ...

  3. 树莓派4 安装OPENCV3全过程(各种踩坑和报错)

    树莓派4 安装OPENCV3全过程(各种踩坑和报错) 说明 第一步更换源 第二部:存储空间的一些说明和操作 第三步:增加交换空间 第四步:下载工具及包 第五步:设置编译编译参数 第六步:开始编译 第六 ...

  4. Streamsets 安装额外Stage包——CDH6.3.0包报错REST API call error: java.io.EOFException

    版本 Streamsets3.16.1(core) CDH6.3.2 一.问题 Streamsets安装包名为streamsets-datacollector-core-3.16.1.tgz,安装好后 ...

  5. 安装iCloud客户端,更改下载位置,报错:“更新时不能更改自动下载文件夹”

    安装iCloud客户端,更改下载位置,报错:"更新时不能更改自动下载文件夹" 我安装了iCloud,我想讲iCloud中的照片下载到pc. 想要修改下载到pc端的位置,即哪个文件夹 ...

  6. linux oracle bad elf,oracle11g安装到red hat6.2 64位系统报错:/lib/ld-linux.so.2: bad ELF interpreter...

    oracle11g安装到red hat6.2 64位系统报错:/lib/ld-linux.so.2: bad ELF interpreter 1.问题如下: [oracle@just ~]$ cd d ...

  7. epel安装第三方扩展源后,运行yum报错的解决方案

    epel安装第三方扩展源后,运行yum报错的解决方案 参考文章: (1)epel安装第三方扩展源后,运行yum报错的解决方案 (2)https://www.cnblogs.com/jingxiaoni ...

  8. 安装Python3.5后,pip报错Fatal error in launcher: Unable to create process using ‘“‘解决方案

    安装Python3.5后,pip报错Fatal error in launcher: Unable to create process using '"'解决方案 参考文章: (1)安装Py ...

  9. NULL 指针在不同平台下的表现引发程序报错(C 语言)

    NULL 指针在不同平台下的表现引发程序报错(C 语言) 为什么有这篇 正文 1. 使用环境 2.问题描述及展示 3. 走了些弯路 4. 柳岸花明(GDB 调试) 5. 访问 NULL 指针错误背后的 ...

最新文章

  1. mysql支持asp.net_关于Mysql + asp.net注射能支持多语句的感慨(2月)
  2. python操作json数据_Python操作JSON数据代码示例
  3. OpenGL png图片 纹理贴图,去除png图片黑边
  4. 外架小横杆外露长度规范要求_脚手架各部位构造要求解读!
  5. 使用junit进行单元测试_使用JUnit5对DynamoDB应用程序进行单元测试
  6. 设计模式之观察者模式在Listview中的应用
  7. 【Python】nltk库使用报错之punkt安装
  8. 一个渣渣的随页面滚动改变定位的代码
  9. 网络工程师应该掌握的知识要点
  10. WPA2 Key Reinstallation 漏洞
  11. sql请求失败或服务器无即使响应,SQL2005无法启动SQL Server 请求失败或服务未及时响应等问题的解决方案...
  12. python中文版下载-python3.8.1汉化版
  13. 指纹识别 java_指纹识别代码示例java
  14. c语言数字大小32768,c语言中int(2byte)的表示范围是为什么是-32768~32767!
  15. SpringBoot入门,快速搭建简单Web应用环境
  16. 【脚本项目源码】Python制作艺术签名生成器,打造专属你的个人艺术签名
  17. JS: 刷新iframe的方法
  18. html页面中加skype,分享个刚学会的电子邮件中加Skype即时联络标签的方法~有用请顶...
  19. device的注册流程
  20. 《缠中说禅108课》83:笔-线段与线段-最小中枢结构的不同心理意义 1

热门文章

  1. 我的世界JAVA刷怪范围_《我的世界》只有刷怪蛋能够刷新生物吗?并不是,还有一种物品!...
  2. x86从实模式到保护模式实验说明
  3. sql(join on 和where的执行顺序)
  4. 洛谷P2480 [SDOI2010]古代猪文(卢卡斯定理+中国剩余定理)
  5. 基于用户击键特征的身份鉴别系统
  6. Akka(19): Stream:组合数据流,组合共用-Graph modular composition
  7. shell 提示符个性化设置
  8. Arduino学习笔记24
  9. hdu 6026 Deleting Edges(最短路计数)
  10. 如何提高生产力(二)、软件的开发与采购