我试图在我的开发机器上安装带有

python 2.6的pip,试图匹配也使用python 2.6的部署环境.

但是它失败了以下内容:

C:\users\me> python get-pip.py

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

Collecting pip<10

c:\users\me\appdata\local\temp\tmpcdimtd\pip.zip\pip\_vendor\urllib3\util\ssl_.py:339: 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. 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\me\appdata\local\temp\tmpcdimtd\pip.zip\pip\_vendor\urllib3\util\ssl_.py:137: 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:490: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\me\appdata\local\temp\tmpcdimtd\pip.zip\pip\_vendor\urllib3\util\ssl_.py:137: 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:490: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\me\appdata\local\temp\tmpcdimtd\pip.zip\pip\_vendor\urllib3\util\ssl_.py:137: 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:490: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\me\appdata\local\temp\tmpcdimtd\pip.zip\pip\_vendor\urllib3\util\ssl_.py:137: 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:490: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\me\appdata\local\temp\tmpcdimtd\pip.zip\pip\_vendor\urllib3\util\ssl_.py:137: 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:490: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/pip/

c:\users\me\appdata\local\temp\tmpcdimtd\pip.zip\pip\_vendor\urllib3\util\ssl_.py:137: 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.python.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '_ssl.c:490: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)) - skipping

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

No matching distribution found for pip<10

显然,升级到更新的python失败了我的目的.

建议警告InsecurePlatformWarning的URL建议使用pip安装更多内容…>.< PS我也尝试过使用setuptools-40.0.0中的easy-install,但我无法使用它.我不确定我是否正确使用它,因为setuptools安装文档有循环链接(从文档到Pypi,回到文档)

python如何安装pipwindows_如何在Windows上使用python 2.6安装pip相关推荐

  1. 如何在Windows上做Python开发?微软出了官方教程(附链接)

    来源:机器之心 本文附教程,建议阅读5分钟. 本文为你分享微软最近发布的关于在Windows上做Python开发的一系列官方教程. 在Windows上做Python开发太痛苦?微软最近发布了一系列官方 ...

  2. 微软官方教程教你如何在Windows上做Python开发?

    关注上方"深度学习技术前沿",选择"星标公众号", 资源干货,第一时间送达! 教程地址:https://docs.microsoft.com/zh-cn/win ...

  3. asp.net web开发步骤_如何在Windows上做Python开发?微软出了官方教程

    机器之心报道 参与:路 在 Windows 上做 Python 开发太痛苦?微软最近发布了一系列官方教程,终于-- 教程地址:https://docs.microsoft.com/zh-cn/wind ...

  4. 如何在电脑上使用python-如何在Windows上使用Python进行开发

    本文由葡萄城技术团队于原创并首发 转载请注明出处:葡萄城官网,葡萄城为开发者提供专业的开发工具.解决方案和服务,赋能开发者. 一直以来C#都是微软在编程语言方面最为显著的Tag,但时至今日Python ...

  5. python windows 客户端开发_如何在Windows上使用Python进行开发

    本文由葡萄城技术团队于原创并首发 转载请注明出处:葡萄城官网,葡萄城为开发者提供专业的开发工具.解决方案和服务,赋能开发者. 一直以来C#都是微软在编程语言方面最为显著的Tag,但时至今日Python ...

  6. python使用-如何在Windows上使用Python进行开发

    本文由葡萄城技术团队于原创并首发 转载请注明出处:葡萄城官网,葡萄城为开发者提供专业的开发工具.解决方案和服务,赋能开发者. 一直以来C#都是微软在编程语言方面最为显著的Tag,但时至今日Python ...

  7. windows 安装php_如何在Windows上安装PHP

    windows 安装php We've previously shown you how to get a working local installation of Apache on your W ...

  8. linux安装python_如何在 Windows 上安装 Python | Linux 中国

    安装 Python,启动 IDE,然后你就可以在 Windows 系统下进行编程了. 来源:https://linux.cn/article-12335-1.html 作者:Seth Kenlon 译 ...

  9. windows 安装metis_如何在windows上安装python中的METIS包?

    这个问题是老问题,但我也遇到了同样的问题,在为..太久了...我有一个对我有用的答案.在 首先,应该使用pip:pip install metis获得python metis包装器.在 其次,您必须安 ...

  10. python 安装xgboost_如何在macOS上为Python安装XGBoost?

    教程概述 本教程分为以下3个部分: 1.安装MacPorts: 2.构建XGBoost: 3.安装XGBoost. 注意:我在一系列不同的macOS版本上都是使用这个过程.本教程是在macOS Hig ...

最新文章

  1. Qt编程之通过鼠标滚轮事件缩放QGraphicsView里面的Item
  2. 设计模式 之 代理模式
  3. java 里如何实现逻辑返回值_☆技术问答集锦(五)
  4. Quartus16.0如何使用TCL脚本
  5. 二分查找基础概念与经典题目(Leetcode题解-Python语言)二分数值型
  6. linux-centos7 关机命令、系统目录结构介绍
  7. dd实现Linux转移,linux命令-dd {拷贝并替换}
  8. js代码优化(不定时更新)
  9. 查询列名在哪张表_SQL—多表查询
  10. stream常用操作
  11. C# List集合排序、去重方法小结
  12. Unity Module Manager 模块管理器
  13. Ubuntu下如何查看GPU版本和使用信息
  14. matlab不用hist画直方图,matlab可以画直方图
  15. AltiumDesigner16安装教程
  16. 打垮你的永远不是压力,而是选择的能力!
  17. python 3d绘图立方体_用python绘制三维立方体的二维投影
  18. 免拆机,Kindle固件版本5.10.3~5.13.3如何越狱?简单、易操作版
  19. 一个浪漫又悲情的爱情故事——笛卡尔心形线
  20. 地下城堡游戏小脚本儿——自动炼金

热门文章

  1. 用OpenStack构建“区域医疗”云平台
  2. 【优化算法】多目标人工蜂群算法(MOABC)【含Matlab源码 1236期】
  3. 【优化求解】基于matlab蚁群算法求解函数极值问题【含Matlab源码 1201期】
  4. 【TSP】基于matlab人工鱼群算法求解旅行商问题【含Matlab源码 422期】
  5. 【雷达通信】基于matlab雷达数字信号处理【含Matlab源码 281期】
  6. arm 饱和指令_ARM Neon 指令 解释
  7. 机器学习指南_管理机器学习实验的快速指南
  8. deep-sort 代码阅读(https://github.com/nwojke/deep_sort)
  9. matlab用实时脚本编写函数,matlab中关于函数文件和脚本文件使用实例(转载)
  10. Linux三剑客之grep