Backpack icon indicating copy to clipboard operation
Backpack copied to clipboard

Compiling backpack firmware with 1.7.6 flatpak is missing pyserial

Open froqstar opened this issue 1 year ago • 2 comments

When trying to compile the current backpack headtracker PR using configurator 1.7.6 flatpak (from flathub), it fails at the binary configuration step with

File "/home/froqstar/.var/app/org.expresslrs.ExpressLRSConfigurator/config/ExpressLRS Configurator/firmwares/binary/Backpack/python/serials_find.py", line 1, in <module>

    import serial
ModuleNotFoundError: No module named 'serial'

Full log: ExpressLRSBuildLog_20240919183518664.txt

froqstar avatar Sep 19 '24 18:09 froqstar

Seems a bit weird that configurator hasn't installed pyserial! You can manually install it with pip globally to get this working.

pkendall64 avatar Sep 19 '24 19:09 pkendall64

Thanks, I tried that but it isn't working. Maybe because the host OS is using python 3.13 but the flatpak runtime is using 3.11 (I think, it's missing from the attached logs but says so at the start of the compilation step).

froqstar avatar Sep 19 '24 20:09 froqstar