安装djangconstan时TLSV1_ALERT_PROTOCOL_版本

2024-05-23 21:21:57 发布

您现在位置:Python中文网/ 问答频道 /正文

我不能安装django constance。在

复制步骤

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

系统配置

^{pr2}$

Tags: installthedjangohttpspypiconstanceurlssl
1条回答
网友
1楼 · 发布于 2024-05-23 21:21:57

使用:

sudo curl https://bootstrap.pypa.io/get-pip.py | python3 

将pip升级到最新版本,而不是pip3 install -upgrade pip。在

然后重新安装django-constance。在

相关问题 更多 >