Traceback (most recent call last):
File "/home/vino/.arduino15/packages/esp32/tools/esptool_py/4.2.1/esptool.py", line 31, in
import esptool
File "/home/vino/.arduino15/packages/esp32/tools/esptool_py/4.2.1/esptool/init.py", line 42, in
from esptool.cmds import (
File "/home/vino/.arduino15/packages/esp32/tools/esptool_py/4.2.1/esptool/cmds.py", line 14, in
from .bin_image import ELFFile, ImageSegment, LoadFirmwareImage
File "/home/vino/.arduino15/packages/esp32/tools/esptool_py/4.2.1/esptool/bin_image.py", line 14, in
from .loader import ESPLoader
File "/home/vino/.arduino15/packages/esp32/tools/esptool_py/4.2.1/esptool/loader.py", line 21, in
import serial
File "/home/vino/.local/lib/python3.10/site-packages/serial/init.py", line 10, in
from . import utilities, abc, model, marshal, errors, properties, meta, hooks, test, request
File "/home/vino/.local/lib/python3.10/site-packages/serial/utilities/init.py", line 5, in
compatibility.backport() # noqa
File "/home/vino/.local/lib/python3.10/site-packages/serial/utilities/compatibility.py", line 28, in backport
exec(BACKWARDS_COMPATIBILITY_IMPORTS, frame.f_globals, frame.f_locals)
File "", line 4, in
ModuleNotFoundError: No module named 'future'
It looks like you do not have the future package installed. You can try to install it via your packet manager (it may be called python3-future or something similar). Alternatively, you can try to install it using pip.
Is this a part of the python-code that is used for uploading compiled binaries?
If Yes should the TO simply uninstall the arduino-IDE and install it new to make it work
@VinothNatarajan
If this python-error is not related to uploading compiled binaries.
What are you trying to do with python on an arduino?
Usually arduino-boards are programmed with C++-code. Not with python-code.