主页 > 编程资料 > Python >
发布时间:2018-05-24 作者:apizl 阅读:331次

在安装python完成后 安装了pip而pip无法安装模块提示如下:


C:\Python27\lib\site-packages\pip-10.0.1-py2.7.egg\pip\_vendor\urllib3\util\ssl_

.py:137: InsecurePlatformWarning: A true SSLContext object is not available. Thi

s 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-usa

ge.html#ssl-warnings

InsecurePlatformWarning

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming

the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retrie

s exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '_ssl.c:507: e

rror:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version')

,)) - skipping


pythonPIP新增模块后出现错误无法安装You can upgrade to a newer version of Python to solve this


这个时候就需要卸载当前python版本了,需要去官方网站下载最新版本!

官方下载地址:https://www.python.org/downloads/


文章由爱资料原创本文地址:https://www.apizl.com/archives/view-134189-1.html,转载请以链接形式标明本文地址!
关键字词: