windows下安装ESP-IDF5.2.1报网络错误
下载与安装
离线安装包下载地址: https://dl.espressif.cn/dl/esp-idf/
下载后傻瓜式安装
vscode安装ESP-IDF插件
设置pip源为国内源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
手动安装依赖
pip download -r "c:\Users\Admin\.vscode\extensions\espressif.esp-idf-extension-1.7.1\esp\_debug\_adapter\requirements.txt" -d D:\下载\1
pip install --no-index --find-links=D:\下载\1 -r "c:\Users\Admin\.vscode\extensions\espressif.esp-idf-extension-1.7.1\esp\_debug\_adapter\requirements.txt"
最后打开vscode,让它自动配置就ok了
报错信息如下
Downloading from https://dl.espressif.com/dl/esp-idf/idf_versions.txt idf_versions.txt has (1) KB idf_versions.txt progress: 100.00% (0.10 / 0.10) KB Installing ESP-IDF Debug Adapter python packages in D:/Espressif/python_env/idf5.2_py3.11_env/Scripts/python.exe ...
Requirement already satisfied: setuptools>=21 in d:\espressif\python_env\idf5.2_py3.11_env\lib\site-packages (from -r c:\Users\Admin.vscode\extensions\espressif.esp-idf-extension-1.7.1\esp_debug_adapter\requirements.txt (line 1)) (69.1.1) Collecting setuptools>=21 Using cached setuptools-69.2.0-py3-none-any.whl (821 kB) Collecting click Using cached click-8.0.4-py3-none-any.whl (97 kB) Collecting esp-debug-backend Using cached esp_debug_backend-1.0.3-py3-none-any.whl (23 kB) Collecting pywin32>=227 Downloading pywin32-306-cp311-cp311-win_amd64.whl (9.2 MB) ----------------------- 5.4/9.2 MB 41.3 kB/s eta 0:01:33 ERROR: Wheel 'pywin32' located at C:\Users\Admin\AppData\Local\Temp\pip-unpack-43z33o3b\pywin32-306-cp311-cp311-win_amd64.whl is invalid. WARNING: There was an error checking the latest version of pip. Command failed: "D:/Espressif/python\_env/idf5.2\_py3.11\_env/Scripts/python.exe" -m pip install --upgrade --constraint "c:\Users\Admin.vscode\extensions\espressif.esp-idf-extension-1.7.1\espidf.constraints.txt" --no-warn-script-location -r "c:\Users\Admin.vscode\extensions\espressif.esp-idf-extension-1.7.1\esp\_debug\_adapter\requirements.txt" ERROR: Wheel 'pywin32' located at C:\Users\Admin\AppData\Local\Temp\pip-unpack-43z33o3b\pywin32-306-cp311-cp311-win_amd64.whl is invalid. WARNING: There was an error checking the latest version of pip. Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) Failed download. Retrying... Error: Error: HTTP/HTTPS Request error https://dl.espressif.com/dl/esp-idf/idf_versions.txt Waiting 8 seconds... Downloading from https://dl.espressif.com/dl/esp-idf/idf_versions.txt idf_versions.txt has (1) KB idf_versions.txt progress: 100.00% (0.10 / 0.10) KB
**自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。**
**深知大多数Python工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则几千的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!**
**因此收集整理了一份《2024年Python开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。**
![img](https://img-blog.csdnimg.cn/img_convert/b15e444c98afa64111468f26cfb2683d.png)
![img](https://img-blog.csdnimg.cn/img_convert/3ae230a4d16671c4ea610f13ae9e77d8.png)
![img](https://img-blog.csdnimg.cn/img_convert/8207834f980dd7336532defcf2558c87.png)
![img](https://img-blog.csdnimg.cn/img_convert/997db9b388d08f7ecca1ebf885d2cccb.png)
![img](https://img-blog.csdnimg.cn/img_convert/6c361282296f86381401c05e862fe4e9.png)
![img](https://img-blog.csdnimg.cn/img_convert/9f49b566129f47b8a67243c1008edf79.png)
**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上前端开发知识点,真正体系化!**
**由于文件比较大,这里只是将部分目录大纲截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新**
**如果你觉得这些内容对你有帮助,可以扫码获取!!!(备注:Python)**
包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新**
**如果你觉得这些内容对你有帮助,可以扫码获取!!!(备注:Python)**
![](https://img-blog.csdnimg.cn/img_convert/a8d4bbd165cd818f9f7c7b3395a993d3.jpeg)