亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

win10下安裝Django出現Python中的ssl模塊不可用

win10下安裝Django出現Python中的ssl模塊不可用
報如下錯誤:
pip?is?configured?with?locations?that?require?TLS/SSL,?however?the?ssl?module?in?Python?is?not?available.
Collecting?django==2.2.2??
Retrying?(Retry(total=4,?connect=None,?read=None,?redirect=None,?status=None))?after?connection?broken?by?'SSLError("Can't?connect?to?HTTPS?URL?because?the?SSL?module?is?not?available.")':?/simple/django/??
Retrying?(Retry(total=3,?connect=None,?read=None,?redirect=None,?status=None))?after?connection?broken?by?'SSLError("Can't?connect?to?HTTPS?URL?because?the?SSL?module?is?not?available.")':?/simple/django/??
Retrying?(Retry(total=2,?connect=None,?read=None,?redirect=None,?status=None))?after?connection?broken?by?'SSLError("Can't?connect?to?HTTPS?URL?because?the?SSL?module?is?not?available.")':?/simple/django/??
Retrying?(Retry(total=1,?connect=None,?read=None,?redirect=None,?status=None))?after?connection?broken?by?'SSLError("Can't?connect?to?HTTPS?URL?because?the?SSL?module?is?not?available.")':?/simple/django/??
Retrying?(Retry(total=0,?connect=None,?read=None,?redirect=None,?status=None))?after?connection?broken?by?'SSLError("Can't?connect?to?HTTPS?URL?because?the?SSL?module?is?not?available.")':?/simple/django/??
Could?not?fetch?URL?https://pypi.org/simple/django/:?There?was?a?problem?confirming?the?ssl?certificate:?HTTPSConnectionPool(host='pypi.org',?port=443):?Max?retries?exceeded?with?url:?/simple/django/?(Caused?by?SSLError("Can't?connect?to?HTTPS?URL?because?the?SSL?module?is?not?available."))?-?skipping??
Could?not?find?a?version?that?satisfies?the?requirement?django==2.2.2?(from?versions:?)No?matching?distribution?found?for?django==2.2.2
pip?is?configured?with?locations?that?require?TLS/SSL,?however?the?ssl?module?in?Python?is?not?available.
Could?not?fetch?URL?https://pypi.org/simple/pip/:?There?was?a?problem?confirming?the?ssl?certificate:?HTTPSConnectionPool(host='pypi.org',?port=443):?Max?retries?exceeded?with?url:?/simple/pip/?(Caused?by?SSLError("Can't?connect?to?HTTPS?URL?because?the?SSL?module?is?not?available."))?-?skipping
求解,安裝Django安裝失敗


正在回答

2 回答

pip3 install django==2.2.1 用這個試試看

0 回復 有任何疑惑可以回復我~

將"[Anaconda安裝目錄]\Library\bin"加入PATH

0 回復 有任何疑惑可以回復我~
#1

weixin_慕用7082869 提問者

試了下,還是不行喔,還有其他方法嘛?百度說是pip版本不對,怎么弄?
2019-06-11 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

win10下安裝Django出現Python中的ssl模塊不可用

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號