Skip to content

Wrong Python version - problem with esptool #23

Closed
@speendo

Description

@speendo

Thanks for this flatpak.
I installed it on my Debian Testing machine but cannot compile sketches for ESP32 boards. This is what I get:

Traceback (most recent call last):
File "/home/marcel/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py", line 37, in
import serial
ModuleNotFoundError: No module named 'serial'
exit status 1

As far as I could dig into this issue, I think it is caused by the dependency on the flathub shared libraries. The shared modules seem to provide only Python 2.7.18.

As Python 2 is dying, Debian Testing does not provide /usr/bin/python at the moment. A sustainable solution would probably be a switch to Python 3 which is however not provided by flathub shared modules.

I hope a maintainer can soon find a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions