env issue of ~/gitProjects/esp/esp-adf/esp-idf/export.sh

forshare
Posts: 2
Joined: Mon Jul 31, 2023 8:03 am

env issue of ~/gitProjects/esp/esp-adf/esp-idf/export.sh

Postby forshare » Mon Jul 31, 2023 8:14 am

Anyone can help to give some advice of this issue?

I'm a beginner of ESP-ADF and followed the get start doc below in my mac. Finally, it can finish the install.sh but can't pass the export.sh.
Although the install.sh showed all the tools were installed but they can't be found in the export.sh.

https://docs.espressif.com/projects/esp ... -and-macos

$ ./install.sh
Detecting the Python interpreter
Checking "python" ...
Python 3.9.12
"python" has been detected
Installing ESP-IDF tools
Current system platform: macos-arm64
Selected targets are: esp32s2, esp32, esp32c3, esp32h2, esp32s3
Installing tools: xtensa-esp-elf-gdb, riscv32-esp-elf-gdb, xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, openocd-esp32
Skipping xtensa-esp-elf-gdb@11.2_20220823 (already installed)
Skipping riscv32-esp-elf-gdb@11.2_20220823 (already installed)
Skipping xtensa-esp32-elf@esp-2021r2-patch5-8.4.0 (already installed)
Skipping xtensa-esp32s2-elf@esp-2021r2-patch5-8.4.0 (already installed)
Skipping xtensa-esp32s3-elf@esp-2021r2-patch5-8.4.0 (already installed)
Skipping riscv32-esp-elf@esp-2021r2-patch5-8.4.0 (already installed)
Skipping esp32ulp-elf@2.35_20220830 (already installed)
Skipping openocd-esp32@v0.11.0-esp32-20221026 (already installed)
Installing Python environment and packages
Python 3.9.12
pip 23.2.1 from ~/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pip (python 3.9)
Installing Python packages from ~/gitProjects/esp/esp-adf/esp-idf/requirements.txt


$ . ./export.sh
Detecting the Python interpreter
Checking "python3" ...
Python 3.9.12
"python3" has been detected
Adding ESP-IDF tools to PATH...
ERROR: tool xtensa-esp-elf-gdb has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it.
ERROR: tool riscv32-esp-elf-gdb has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it.
ERROR: tool xtensa-esp32-elf has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it.
ERROR: tool xtensa-esp32s2-elf has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it.
ERROR: tool xtensa-esp32s3-elf has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it.
ERROR: tool riscv32-esp-elf has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it.
ERROR: tool openocd-esp32 has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it.
ERROR: tool esp-rom-elfs has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it.
(base)

Who is online

Users browsing this forum: No registered users and 60 guests