ESPIDF v5.0 Python requirements not satisfied "idfcomponentmanager>=0.2.99beta"

环境:

Win10,  esp-idf, esp32c3调试

错误提示:

执行Monitor指令,提示

The following Python requirements are not satisfied: idf-component-manager>=0.2.99beta

执行install.bat提示所有条件都满足requirements.txt

执行pip show idf-component-manager:

Name: idf-component-manager
Version: 0.3.2b0
Summary: The component manager for ESP-IDF
Home-page: https://github.com/espressif/idf-component-manager
Author: Sergei Silnov
Author-email: sergei.silnov@esspressif.com
License: Apache License 2.0
Location: ..\esp\.espressif\python_env\idf5.0_py3.8_env\lib\site-packages
Requires: future, tqdm, six, requests-toolbelt, semantic-version, requests, pyyaml, schema
Required-by:

错误原因:

idf安装工具安装的是idf4.3, 后又通过git更新到了github最新版,最新版是5.0

python env的版本是不同的:idf4.3_py3.8_env,idf5.0_py3.8_env

解决办法:

而我的vscode idf插件中配置的是4.3,修改idf.pythonBinPathWin为5.0的路径后不再提示错误。

原文地址:https://www.cnblogs.com/jopny/p/15718420.html