Anaconda創建環境出現ProxyError

ProxyError(MaxRetryError("HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/pkgs/free/win-64/repodata.json

anaconda創建新環境時出現的錯誤,.condac文件已經修改過了,也選了清華的鏡像源,-- defaults也刪除了。
看錯誤描述是代理出現錯誤。
ProxyError(MaxRetryError("HTTPSConnectionPool(host=‘mirrors.tuna.tsinghua.edu.cn’, port=443): Max retries exceeded with url: /anaconda/pkgs/free/win-64/repodata.json
解決方案:關閉科學上網等軟件,在Internet選項裏將代理模式關閉。具體操作,在Internet中打開“Internet選項”——>連接——>局域網設置——>把“爲lan使用代理服務器”的勾去掉。然後應用即可解決問題。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章