柚子快報(bào)邀請(qǐng)碼778899分享:網(wǎng)絡(luò)協(xié)議 pip安裝報(bào)錯(cuò)SSL
柚子快報(bào)邀請(qǐng)碼778899分享:網(wǎng)絡(luò)協(xié)議 pip安裝報(bào)錯(cuò)SSL
confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.cloud.tencent.com', port=443) 錯(cuò)誤代碼如上 偶然搜索:ubuntu pip出錯(cuò) confirming the ssl certificate: HTTPSConnectionPool(host=‘mirrors.cloud.tencent.com’, port=443) 看到這個(gè)回答 【日常踩坑】解決 pip 安裝第三方包時(shí)因 SSL 報(bào)錯(cuò) 然后使用:
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
解決問題
其中--trusted-host mirrors.aliyun.com是告訴pip忽略與mirrors.aliyun.com的ssl證書驗(yàn)證
柚子快報(bào)邀請(qǐng)碼778899分享:網(wǎng)絡(luò)協(xié)議 pip安裝報(bào)錯(cuò)SSL
精彩內(nèi)容
本文內(nèi)容根據(jù)網(wǎng)絡(luò)資料整理,出于傳遞更多信息之目的,不代表金鑰匙跨境贊同其觀點(diǎn)和立場(chǎng)。
轉(zhuǎn)載請(qǐng)注明,如有侵權(quán),聯(lián)系刪除。