我正在尝试用pip 安装django
pip insall django==1.10.5
我得到以下错误:
[1]WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)",)': /simple/django/
C:devdjangoentornossrhlibsite-packagespip_vendorurllib3utilssl_.py:164: 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
InsecurePlatformWarning,
如果您在Windows上,请尝试以下命令:
shutdown /s
如果不起作用,请尝试升级到最新版本的Python 2.7