
esp32 ESP-IDF vscode插件安装失败(host=‘files.pythonhosted.org‘, port=443): Read timed out.
5 重新安装后发现源已经换掉了。原因:pip安装源连接失败。处理方式:换成国内源。3 新建文件夹pip。
·
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
原因:pip安装源连接失败
处理方式:换成国内源
1 cmd+r
2 %HOMEPATH%
3 新建文件夹pip
4 新建文件pip.ini,输入如下内容:
[global]
timeout = 6000
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
trusted-host = pypi.tuna.tsinghua.edu.cn
5 重新安装后发现源已经换掉了,最后安装成功。
参考:
更多推荐
所有评论(0)