On my x86_64 Linux Mint 22 PC I’m trying to iinstall the Cardputer uLisp firmware as per the instructions. However, with the Cardputer turned on and connected to the PC via USB-C, when I execute the command Sketch
> Upload
the process aborts with the error Error compiling for board M5Cardputer
. The full log is:
Arduino: 1.8.19 (Linux), Board: "M5Cardputer, Disabled, Disabled, QIO 80MHz, 8MB (64Mb), Core 1, Core 1, Hardware CDC and JTAG, Enabled, Disabled, Disabled, UART0 / Hardware CDC, 8M with spiffs (3MB APP/1.5MB SPIFFS), 240MHz (WiFi), 921600, None, Disabled"
WARNING: Category '' in library ESP Insights is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library ESP RainMaker is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library WiFiProv is not valid. Setting to 'Uncategorized'
Traceback (most recent call last):
File "/home/paolo/.arduino15/packages/m5stack/tools/esptool_py/4.5.1/esptool.py", line 31, in <module>
import esptool
File "/home/paolo/.arduino15/packages/m5stack/tools/esptool_py/4.5.1/esptool/__init__.py", line 41, in <module>
from esptool.cmds import (
File "/home/paolo/.arduino15/packages/m5stack/tools/esptool_py/4.5.1/esptool/cmds.py", line 14, in <module>
from .bin_image import ELFFile, ImageSegment, LoadFirmwareImage
File "/home/paolo/.arduino15/packages/m5stack/tools/esptool_py/4.5.1/esptool/bin_image.py", line 14, in <module>
from .loader import ESPLoader
File "/home/paolo/.arduino15/packages/m5stack/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 M5Cardputer.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Any advice or insight?