Closed
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate.
- Provided a clear description of your suggestion.
- Included any relevant context or examples.
Issue or Suggestion Description
Hi,
I'm trying to compile custom arduino-esp32 library on Ubuntu.
I have an issue during executing the command ubuntu@ubuntu:~/esp32-arduino-lib-builder$ ./build.sh -b menuconfig -t esp32s3
.
I'm getting the famous "rich module" error:
Python 3.12.3
"python3" has been detected
error: Unable to import the rich module: No module named 'rich'. Please execute the install script.
ERROR: Activation script failed
Command '['/home/ubuntu/.espressif/python_env/idf5.4_py3.12_env/bin/python', '/home/ubuntu/esp32-arduino-lib-builder/esp-idf/tools/export_utils/activate_venv.py', '--export', '--shell', 'bash']' returned non-zero exit status 1.
To view detailed debug information, set ESP_IDF_EXPORT_DEBUG=1 and run the export script again.
* Building for esp32s3
idf.py -DIDF_TARGET="esp32s3" -DSDKCONFIG_DEFAULTS="configs/defconfig.common;configs/defconfig.esp32s3;configs/defconfig.debug_default;configs/defconfig.esp_sr" menuconfig
./build.sh: line 172: idf.py: command not found
When I'm trying to upgrade python, it is saying that rich is already installed:
ubuntu@ubuntu:~/esp32-arduino-lib-builder$ pip3 install rich
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: rich in /home/ubuntu/.local/lib/python3.12/site-packages (14.0.0)
Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/lib/python3/dist-packages (from rich) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/lib/python3/dist-packages (from rich) (2.17.2)
Requirement already satisfied: mdurl~=0.1 in /usr/lib/python3/dist-packages (from markdown-it-py>=2.2.0->rich) (0.1.2)
What should I do to be able to build and run menuconfig?
Metadata
Metadata
Assignees
Labels
No labels