python icon indicating copy to clipboard operation
python copied to clipboard

Running Meshtastic as a system call to Ubuntu fails for me

Open roberthadow opened this issue 8 months ago • 0 comments

I get an error when I try to run Meshastic as a system call to Ubuntu. Here's a MRE:

import os
os.system( "meshtastic  --reboot")

I get the same error as when I use a system call from my own language of choice:

Traceback (most recent call last):
  File "/home/myId/miniconda3/bin/meshtastic", line 5, in <module>
    from meshtastic.main import main
  File "/home/myIdminiconda3/lib/python3.12/site-packages/meshtastic/init.py", line 82, in <module>
    import serial # type: ignore[import-untyped]
    ^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'serial' 

roberthadow avatar Apr 03 '25 16:04 roberthadow