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"
本文来自博客园,作者:꧁执笔小白꧂,转载请注明原文链接:https://www.cnblogs.com/qq2806933146xiaobai/p/17279626.html
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!