ZebusJesus / Meshtastic-PyGUI

Python Based GUI that uses the Meshtastic API
MIT License
25 stars 6 forks source link

Can't Launch #11

Open hudsonsecurity opened 3 years ago

hudsonsecurity commented 3 years ago

Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.9/dist-packages/meshtastic_pygui/main.py", line 19, in from map3 import mapNODE ModuleNotFoundError: No module named 'map3'

wolfcry0 commented 3 years ago

Same issue here, I haven't had any luck finding what module map3 is to do a manual install.

arankwende commented 3 years ago

Hi guys, I had the exact same issue. At first, it seems the module map3.py is on the same folder main.py but it isn't being found, so I added a . in front of the import sequence but when I did that, another dependency was missing( from mpl_toolkits.basemap import Basemap) used by map3.py and I didn't manage to find it on pip so, what I did in order to be able to execute the app for now (until devs can point us into the right direction) is comment lines 19 (the module import) and the only place where the module is used, lines 579, 580, 581, 582 and 583. After that the application launched and I managed to connect to my TTGO through USB.

mkinney commented 2 years ago

Can you try the latest version?

pip3 install Meshtastic-PyGUI
meshtastic_pygui
spydercs commented 2 years ago

I tried the latest version and I get a different message:

user@linuxbox:~$ meshtastic_pygui Traceback (most recent call last): File "/home/user/.local/bin/meshtastic_pygui", line 5, in from meshtastic_pygui.main import main File "/home/user/.local/lib/python3.9/site-packages/meshtastic_pygui/main.py", line 11, in import PySimpleGUI as sg File "/home/user/.local/lib/python3.9/site-packages/PySimpleGUI/init.py", line 2, in from .PySimpleGUI import * File "/home/user/.local/lib/python3.9/site-packages/PySimpleGUI/PySimpleGUI.py", line 127, in import tkinter as tk ModuleNotFoundError: No module named 'tkinter'