一、首先在下面链接网页中下载esp-idf v5.1.1离线安装包 ,并安装到指定位置。dl.espressif.cn/dl/esp-idf/
https://dl.espressif.cn/dl/esp-idf/ 
安装过程中会提示需要长路径支持,所以windows系统需要开启长路径使能
Step 1: 打开运行,并输入regedit

Step 2: 找到路径“计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem”。
Step 3: 在右侧窗口中找到名称为“LongPathsEnabled”的“DWORD (32 位) 值”条目,并双击它。 Step 4: 将数值数据更改为1,然后选择“确定”按钮。
Step 5: ESP-IDF离线安装包中点击 应用修复。

安装完成后,切换到ESP-IDF安装的Python环境路径,例如:C:\Espressif\python_env\idf5.1_py3.11_env\Scripts>

输入 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

搜索Espressif IDF并安装
 





![[Unity]给场景中的3D字体TextMesh增加描边方案二](https://img-blog.csdnimg.cn/bc8f562d8cc44123ab08c623edf0a8f3.png)













