meshtastic / Meshtastic-gui-installer

Cross platform, easy to use GUI for installing Meshtastic firmware.
https://meshtastic.org
GNU General Public License v3.0
63 stars 22 forks source link

"No module named meshtastic.radioconfig_pb2" #248

Open lycaon42 opened 1 year ago

lycaon42 commented 1 year ago

When trying to start the flasher through CLI on Macbook, I receive this error:

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/bin/meshtastic-flasher", line 5, in from meshtastic_flasher.main import main File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/meshtastic_flasher/main.py", line 11, in import meshtastic_flasher.form File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/meshtastic_flasher/form.py", line 31, in from meshtastic_flasher.settings import Settings File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/meshtastic_flasher/settings.py", line 11, in from meshtastic_flasher.position_form import PositionForm File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/meshtastic_flasher/position_form.py", line 9, in import meshtastic.radioconfig_pb2 ModuleNotFoundError: No module named 'meshtastic.radioconfig_pb2'

After uninstalling the flasher, deleting the directory, creating a new directory, and updating my flasher using "pip install --upgrade meshtastic -pre" the problem persists.

caveman99 commented 1 year ago
pip install --upgrade meshtastic
pip install --upgrade meshtastic-flasher
caveman99 commented 1 year ago

radioconfig is an old 1.2 proto - if the error persists you have an old installation in your search path. Not a bug.