After change Arduino IDE 2.0.4 -> 2.0.5 (nightly) type error:
"Using board 'esp32' from platform in folder: /home/make/.arduino15/packages/esp32/hardware/esp32/2.0.7
Using core 'esp32' from platform in folder: /home/make/.arduino15/packages/esp32/hardware/esp32/2.0.7
bash -c "[ ! -f "/home/make/Arduino/ESP32_WiFiClient_6"/partitions.csv ] || cp -f "/home/make/Arduino/ESP32_WiFiClient_6"/partitions.csv "/tmp/arduino/sketches/0AAE619B061782BBF432F9B70511A130"/partitions.csv"
bash -c "[ -f "/tmp/arduino/sketches/0AAE619B061782BBF432F9B70511A130"/partitions.csv ] || [ ! -f "/home/make/.arduino15/packages/esp32/hardware/esp32/2.0.7/variants/esp32"/partitions.csv ] || cp "/home/make/.arduino15/packages/esp32/hardware/esp32/2.0.7/variants/esp32"/partitions.csv "/tmp/arduino/sketches/0AAE619B061782BBF432F9B70511A130"/partitions.csv"
bash -c "[ -f "/tmp/arduino/sketches/0AAE619B061782BBF432F9B70511A130"/partitions.csv ] || cp "/home/make/.arduino15/packages/esp32/hardware/esp32/2.0.7"/tools/partitions/default.csv "/tmp/arduino/sketches/0AAE619B061782BBF432F9B70511A130"/partitions.csv"
bash -c "[ -f "/home/make/Arduino/ESP32_WiFiClient_6"/bootloader.bin ] && cp -f "/home/make/Arduino/ESP32_WiFiClient_6"/bootloader.bin "/tmp/arduino/sketches/0AAE619B061782BBF432F9B70511A130"/ESP32_WiFiClient_6.ino.bootloader.bin || ( [ -f "/home/make/.arduino15/packages/esp32/hardware/esp32/2.0.7/variants/esp32"/bootloader.bin ] && cp "/home/make/.arduino15/packages/esp32/hardware/esp32/2.0.7/variants/esp32"/bootloader.bin "/tmp/arduino/sketches/0AAE619B061782BBF432F9B70511A130"/ESP32_WiFiClient_6.ino.bootloader.bin || python3 ""/esptool.py --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "/tmp/arduino/sketches/0AAE619B061782BBF432F9B70511A130"/ESP32_WiFiClient_6.ino.bootloader.bin "/home/make/.arduino15/packages/esp32/hardware/esp32/2.0.7"/tools/sdk/esp32/bin/bootloader_qio_80m.elf )"
python3: can't open file '/esptool.py': [Errno 2] No such file or directory
exit status 2
Compilation error: exit status 2
Using IDE 2.0.4 I had a similar problem when I upgraded the ESP32 board files to version 2.0.7 from 2.0.6
I have not investigated the problem, but reverting to the ESP32 board files version 2.0.6 solved the problem
Interestingly, I just upgraded to board files 2.0.7 again and the problem is no longer occurring, so I don't know what is going on
1 Like
I did some investigation and found this error was caused by a change made to the ESP32 package index file:
You can restore the platform to a functional state by uninstalling and then reinstalling it:
- Select Tools > Board > Boards Manager from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
- Scroll down through the list of boards platforms until you find the "esp32 by Espressif Systems" entry.
- Hover the mouse pointer over the "INSTALLED" label on the "esp32 by Espressif Systems" entry. You will now see it change to an "UNINSTALL" button.
- Click the "UNINSTALL" button.
- A confirmation dialog will appear. Click the "YES" button.
- Wait for the uninstallation to finish.
- Select "2.0.7" from the dropdown version menu at the bottom of the "esp32 by Espressif Systems" entry.
- Click the "INSTALL" button at the bottom of the "esp32 by Espressif Systems" entry.
- Wait for the installation to finish.
system
Closed
6
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.