一般安装ESP-IDF的环境是不会出错的,一路点击下去即可【ESP-IDF v4.4.3 - Offline Installer下载地址】。
主要是VScode安装ESP-IDF插件的时候会有以下两个问题
- WARNING: You are using pip version 20.3.3; however, version 22.3.1 is available. You should consider upgrading via the 'D:\DevelopmentDocuments\Environment\Espressif\tools\idf-python\3.8.7\python.exe -m pip install --upgrade pip' command. 此解决办法很简单,按照他的要求进入ESP-IDF的安装目录【D:\DevelopmentDocuments\Environment\Espressif\tools\idf-python\3.8.7\】,在路径框输入cmd,执行python.exe -m pip install --upgrade pip即可。
-
控制台最后一行提示
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
在刚刚的cmd窗口执行pip --default-timeout=100 install gevent
重新在VScode配置ESP-IDF环境路径后即可安装成功。
安装成功界面如下图
标签:ESP,VScode,IDF,python,IDF4.4,pip,安装 From: https://www.cnblogs.com/lesterbor/p/17043350.html