[SOLVED] Arduino 1.8.19 compile error : ImportError: no module named serial [Raspberry Pi]
Posted: Sun Mar 13, 2022 12:58 am
Using a Raspberry Pi platform I am getting a "no module named serial" error on compile of ESP32 sketch under 1.8.19 Arduino IDE.
The Espressif library is installed. Does anyone know what causes this error generation or how to correct it? I have installed python3.
The Espressif library is installed. Does anyone know what causes this error generation or how to correct it? I have installed python3.
Code: Select all
Traceback (most recent call last):
File "/home/pi/.arduino15/packages/esp32/tools/esptool_py/3.1.0/esptool.py", line 38, in <module>
import serial
ImportError: No module named serial
Multiple libraries were found for "WiFi.h"
Used: /home/pi/.arduino15/packages/esp32/hardware/esp32/2.0.2/libraries/WiFi
Not used: /home/pi/Arduino/libraries/WiFiNINA
Not used: /opt/arduino-1.8.19/libraries/WiFi
exit status 1
Error compiling for board ESP32 Dev Module.