注意:使用此教程不需要确定esp芯片型号,一般只要是esp32开发板就能用
运行install.bat出现问题,更换pip源
参考文档
http://t.csdnimg.cn/r5Qpd
在上述文档中
3.1 配置cmd环境
运行install.bat进行安装会出现以下问题
WARNING:Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/pip/
需要更换pip镜像,pip是用于安装pyhon第三方工具的软件
参考文档
http://t.csdnimg.cn/MhKkc
中的windows方法
“d:\Espressif\tools\idf-python\3.11.2\python.exe -m pip” is not valid. (ERROR_INVALID_PIP)
在vscode配置ESP-IDF中出现上述问题
参考文档
http://t.csdnimg.cn/vs34R
问题是未将Script中的pip加入系统环境变量,以及python安装路径未加入系统环境变量