一、问题:
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"
标签:Users,esp,Read,ESPRESSIF,zhang,--,pip,espressif,timed
From: https://www.cnblogs.com/qq2806933146xiaobai/p/17279626.html