Page 1 of 1

Menuconfig not working with Release version 5.1 (issue with curses library)

Posted: Fri Jul 21, 2023 9:19 am
by karunt
Updated esp-idf to release version 5.1, but menuconfig doesn't work. Error message reads
menuconfig failed to import the standard Python 'curses' library
, which apparently is a problem starting with Kconfiglib 13.0.0. If I were to install the curses library with

Code: Select all

pip install windows-curses
, what's the correct location to install it in?

Re: Menuconfig not working with Release version 5.1 (issue with curses library)

Posted: Fri Jul 21, 2023 9:40 am
by karunt
For anyone who is experiencing this issue, the location to add the curses library to is in your .espressif folder: .espressif/python-env/idf5.1_py3.11env [or similar folder]/Lib/site-packages. From your terminal, navigate to this directory and type:

Code: Select all

pip install windows-curses