unable to open MENUCONFIG in vscode

benedito821
Posts: 15
Joined: Fri Mar 19, 2021 9:58 pm

unable to open MENUCONFIG in vscode

Postby benedito821 » Sat Mar 20, 2021 11:23 am

Hello , I installed ESP-IDF extension in vscode and I wanted to open menuconfig from the terminal. When I type idf.py menuconfig I get this error:

Traceback (most recent call last):
File "/home/benedito/esp/esp-idf/tools/idf.py", line 47, in <module>
from idf_py_actions.tools import executable_exists, idf_version, merge_action_lists, realpath # noqa: E402
File "/home/benedito/esp/esp-idf/tools/idf_py_actions/tools.py", line 7, in <module>
import click
ModuleNotFoundError: No module named 'click'

After some research on internet I decided to install phyton-pip. But it just worsened the problem with new errors.
How could I solve it? Or is there an other way to open menuconfig?Thanks

bobolink
Posts: 98
Joined: Mon Feb 26, 2018 4:17 pm

Re: unable to open MENUCONFIG in vscode

Postby bobolink » Sun Mar 21, 2021 11:58 am

I seem to remember it was something like:
pio run -t menuconfig
And the terminal needed to be resized.
But I haven’t used it in a while.

Edit. Oh, I was also using Platform IO with VS Code. So not much help I guess.

benedito821
Posts: 15
Joined: Fri Mar 19, 2021 9:58 pm

Re: unable to open MENUCONFIG in vscode

Postby benedito821 » Sun Mar 21, 2021 8:11 pm

anyway thanks for your answer bobolink.
What do you think ? between platformIO and esp-idf what is better?

Who is online

Users browsing this forum: Baidu [Spider] and 99 guests