How can i resolve this error with my arduino? I don't have any idea what is going on! Help me to resolve. Greetings!

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'

exit status 1

Compilation error: exit status 1

This is a Python error. You are in an Arduino forum.

Welcome to the forum!

For hints on making a successful post, please read and follow the instructions in the "How to get the best out of this forum" post.

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.

pip install future

@jfjlaros

the error-message is definitely a python-error.

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.

Which eact type of microcontroller are you using?

My bad. Now I think that is uploader code.

Thanks for replying!
I'm using ESP32 Wroom also Xiao c3(new one in the market).

Sorry ! I have a same error in my Arduino 2.0.5. If you can help me .

post a link to this thread in this subforum

it might be a IDE 2.0.5 problem

best regards Stefan

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.