ESPRESSIF-pip安装模板超时Read timed out

一、问题:

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
Command failed: "C:\Users\zhang\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe" -m pip install --upgrade --constraint "c:\Users\zhang\.vscode\extensions\espressif.esp-idf-extension-1.6.0\espidf.constraints.txt" --no-warn-script-location -r "c:\Users\zhang\.vscode\extensions\espressif.esp-idf-extension-1.6.0\esp_debug_adapter\requirements.txt"
ERROR: Exception:

二、解决:

手动运行python安装+添加超时命令,如--default-timeout=10000 install 模块名

python -m pip --default-timeout=10000 install --upgrade --constraint "c:\Users\zhang\.vscode\extensions\espressif.esp-idf-extension-1.6.0\espidf.constraints.txt" --no-warn-script-location -r "c:\Users\zhang\.vscode\extensions\espressif.esp-idf-extension-1.6.0\esp_debug_adapter\requirements.txt"
posted @   ꧁执笔小白꧂  阅读(99)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
点击右上角即可分享
微信分享提示