ESP IDF开发环境搭建问题,export.bat,提示cmake 、gdbgui版本错误!!!

xuetao8687
Posts: 6
Joined: Thu Sep 03, 2020 6:00 am

ESP IDF开发环境搭建问题,export.bat,提示cmake 、gdbgui版本错误!!!

Postby xuetao8687 » Thu Sep 03, 2020 6:51 am

1、在esp idf目录下,执行install.bat,打印信息:

Code: Select all

...
Skipping cmake@3.16.4 (already installed)
...
Requirement already satisfied: gdbgui>=0.13.2.0 in c:\users\xxxx\.espressif\python_env\idf4.3_py3.7_env\lib\site-packages (from -r xxxx\esp-idf\requirements.txt (line 14)) (0.14.0.0)
...
All done! You can now run:
   export.bat
说明安装己成功。
2、而后执行export.bat

Code: Select all

...
    C:\Users\xxxx\.espressif\tools\cmake\3.16.4\bin
...
The following Python requirements are not satisfied:
gdbgui>=0.13.2.0
3、我在.espressif\python_env\idf4.3_py3.7_env\Lib\site-packages路径下找到gdbgui安装包
gdbgui;gdbgui-0.14.0.0.dist-info。在gdbgui中VERSION.txt中显示版本为0.14.0.0。明显版本能够足要求。
4、总合来看,系统中己安装0.14版本的gdbgui,但在export.bat时却显示版本问题,请问这个问题该怎么解决?

ESP_morris
Posts: 290
Joined: Wed Sep 05, 2018 6:23 am

Re: ESP IDF开发环境搭建问题,export.bat,提示cmake 、gdbgui版本错误!!!

Postby ESP_morris » Thu Sep 03, 2020 7:53 am

你好,这个问题是由于上游的gdbgui发生了更新,并且导致与低版本的python不兼容,目前的解决方法是:
手动修改esp-idf根目录下的requirements.txt,找到gdbdui那条,修给成:gdbgui==0.13.2.0

Who is online

Users browsing this forum: No registered users and 74 guests