export.sh 配置编译环境失败

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

export.sh 配置编译环境失败

Postby forshare » Mon Jul 31, 2023 9:24 am

请问有人碰到配置编译环境的问题吗?我照着这里的get start, 顺利通过了install.sh, 也显示安装好了tools, 但是在export.sh的前置tool检查的时候报出来找不到相应的工具。。。。

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)

$ . ./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 21 guests