I am trying to verify sample / example code for ESP32 and I got error every time:
I have installed pyserial with command:Traceback (most recent call last):
File "/home/cc/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py", line 31, in <module>
import esptool
File "/home/cc/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/__init__.py", line 41, in <module>
from esptool.cmds import (
File "/home/cc/.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/cc/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/bin_image.py", line 14, in <module>
from .loader import ESPLoader
File "/home/cc/.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
Compilation error: exit status 1
python -m pip install pyserial
but this did not solve the problem
I am using Linux Ubuntu and Arduino IDE.
Thanks for help!