正确设置 pip,避免There was a problem confirming the ssl certificate问题

windows 环境下,python 安装好后,最好将 pip 源换成国内的,同时添加一下信任主机。避免形如: Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/requests/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.tuna.tsinghua.edu.cn’, port=44 3): Max retries exceeded with url: /simple/requests/ (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable t

正确设置 pip,避免There was a problem confirming the ssl certificate问题最先出现在Python成神之路

版权声明:
作者:Zad
链接:https://www.techfm.club/p/8372.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>