无法在mac上安装django

时间:2018-04-19 04:01:39

标签: python django openssl pip

我正在尝试安装django,但我一直收到此错误

Collecting django
  Could not fetch URL https://pypi.python.org/simple/django/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
  Could not find a version that satisfies the requirement django (from versions: )
No matching distribution found for django

我在做pip install django

但由于某种原因,它不起作用

尝试升级pip,但得到这个:

Cache entry deserialization failed, entry ignored
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Requirement already up-to-date: pip in /Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg
You are using pip version 9.0.1, however version 10.0.0 is available.

0 个答案:

没有答案
相关问题