Python 官方文档:入门教程 => 点击学习
一般在使用 pip 安装 python 相关的包的时候,可能会由于网络问题失败 pip._vendor.urllib3.exceptions.ReadTimeoutError: httpsConnec
一般在使用 pip 安装 python 相关的包的时候,可能会由于网络问题失败
pip._vendor.urllib3.exceptions.ReadTimeoutError: httpsConnectionPool(host='files.Pythonhosted.org', port=443): Read timed out.
可以采用国内镜像进行下载安装,复制下面代码重新进行下载安装:
pip install -r requirements.txt -i Http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
安装成功:
来源地址:https://blog.csdn.net/jiaoyangwm/article/details/129820752
--结束END--
本文标题: 【问题记录】pip install -r requirements.txt 安装失败
本文链接: https://www.lsjlt.com/news/393268.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0