I have an Arduino IDE under Linux (in the form of APPIMAGE - in one file) and I am using ESP32.
In the Arduino IDE I get an error (when trying to verify the code):
It appears that the Arduino IDE uses a Python in which there is no pyserial, but I don't know how to check which Python the IDE uses.
In the Arduino IDE I get an error (when trying to verify the code):
Quote:Traceback (most recent call last):
File "/home/cc/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py", line 31, in
import esptool
File "/home/cc/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/__init__.py", line 41, in
from esptool.cmds import (
File "/home/cc/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/cmds.py", line 14, in
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
from .loader import ESPLoader
File "/home/cc/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/loader.py", line 30, in
import serial
ModuleNotFoundError: No module named 'serial'
exit status 1
Compilation error: exit status 1
It appears that the Arduino IDE uses a Python in which there is no pyserial, but I don't know how to check which Python the IDE uses.