python
python copied to clipboard
Running Meshtastic as a system call to Ubuntu fails for me
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'