Hi,
I'm working on installing Arduino in ubuntu for esp32, but I get this error.
I have installed the other platforms esp8266 and stm32 successfully, but not for the esp32, I don't know what is the reason for that.
This is the error message:
Arduino: 1.8.19 (Linux), Board: "ESP32 Dev Module, Disabled, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Disabled"
Traceback (most recent call last):
File "/home/r1s8k/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py", line 31, in <module>
import esptool
File "/home/r1s8k/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/__init__.py", line 41, in <module>
from esptool.cmds import (
File "/home/r1s8k/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/cmds.py", line 14, in <module>
from .bin_image import ELFFile, ImageSegment, LoadFirmwareImage
File "/home/r1s8k/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/bin_image.py", line 14, in <module>
from .loader import ESPLoader
File "/home/r1s8k/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/loader.py", line 30, in <module>
import serial
ModuleNotFoundError: No module named 'serial'
exit status 1
Error compiling for board ESP32 Dev Module.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.