espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.19k stars 7.17k forks source link

./install.sh esp32c6 error (IDFGH-12850) #13816

Closed zheyuejiang12 closed 2 months ago

zheyuejiang12 commented 3 months ago

Answers checklist.

IDF version.

v5.1

Operating System used.

Linux

How did you build your project?

Command line with Make

If you are using Windows, please specify command line type.

None

What is the expected behavior?

install success

What is the actual behavior?

VirtualBox:~/esp/esp-idf$ cd ~/esp/esp-idf VirtualBox:~/esp/esp-idf$ ./install.sh esp32c6 Detecting the Python interpreter Checking "python3" ... Python 3.12.3 "python3" has been detected Checking Python compatibility Installing ESP-IDF tools Current system platform: linux-amd64 Selected targets are: esp32h2, esp32c6, esp32s3, esp32, esp32c2, esp32c3, esp32s2 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, esp-rom-elfs Skipping xtensa-esp-elf-gdb@12.1_20221002 (already installed) Skipping riscv32-esp-elf-gdb@12.1_20221002 (already installed) Skipping xtensa-esp32-elf@esp-12.2.0_20230208 (already installed) Skipping xtensa-esp32s2-elf@esp-12.2.0_20230208 (already installed) Skipping xtensa-esp32s3-elf@esp-12.2.0_20230208 (already installed) Skipping riscv32-esp-elf@esp-12.2.0_20230208 (already installed) Skipping esp32ulp-elf@2.35_20220830 (already installed) Skipping openocd-esp32@v0.12.0-esp32-20230419 (already installed) Skipping esp-rom-elfs@20230320 (already installed) Installing Python environment and packages Python 3.12.3 pip 24.0 from /home/zheyuejiang/.espressif/python_env/idf5.1_py3.12_env/lib/python3.12/site-packages/pip (python 3.12) Upgrading pip and setuptools... Requirement already satisfied: pip in /home/zheyuejiang/.espressif/python_env/idf5.1_py3.12_env/lib/python3.12/site-packages (24.0) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7483d5105fa0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/pip/

Steps to reproduce.

VirtualBox:~/esp/esp-idf$ cd ~/esp/esp-idf VirtualBox:~/esp/esp-idf$ ./install.sh esp32c6 Detecting the Python interpreter Checking "python3" ... Python 3.12.3 "python3" has been detected Checking Python compatibility Installing ESP-IDF tools Current system platform: linux-amd64 Selected targets are: esp32h2, esp32c6, esp32s3, esp32, esp32c2, esp32c3, esp32s2 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, esp-rom-elfs Skipping xtensa-esp-elf-gdb@12.1_20221002 (already installed) Skipping riscv32-esp-elf-gdb@12.1_20221002 (already installed) Skipping xtensa-esp32-elf@esp-12.2.0_20230208 (already installed) Skipping xtensa-esp32s2-elf@esp-12.2.0_20230208 (already installed) Skipping xtensa-esp32s3-elf@esp-12.2.0_20230208 (already installed) Skipping riscv32-esp-elf@esp-12.2.0_20230208 (already installed) Skipping esp32ulp-elf@2.35_20220830 (already installed) Skipping openocd-esp32@v0.12.0-esp32-20230419 (already installed) Skipping esp-rom-elfs@20230320 (already installed) Installing Python environment and packages Python 3.12.3 pip 24.0 from /home/zheyuejiang/.espressif/python_env/idf5.1_py3.12_env/lib/python3.12/site-packages/pip (python 3.12) Upgrading pip and setuptools... Requirement already satisfied: pip in /home/zheyuejiang/.espressif/python_env/idf5.1_py3.12_env/lib/python3.12/site-packages (24.0) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7483d5105fa0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/pip/

Build or installation Logs.

No response

More Information.

No response

dobairoland commented 3 months ago

It fails at the first time it tries to access the Internet. You probably haven't set it up for your Virtualbox.

dobairoland commented 2 months ago

I'm closing this for inactivity.