ZebusJesus / Meshtastic-PyGUI

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

Attempting to run Meshtastic Gui on MacOs 11.6.4 - Python 3.9.10, #17

Open tBalwithatouchofMalice opened 2 years ago

tBalwithatouchofMalice commented 2 years ago

Describe the bug

[Redacted]MacBook-Pro ~ % pip3 install --upgrade meshtastic-pygui                             
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Requirement already satisfied: meshtastic-pygui in /usr/local/lib/python3.9/site-packages (2.7.6)
Requirement already satisfied: esptool>=3.0 in /usr/local/lib/python3.9/site-packages (from meshtastic-pygui) (3.2)
Requirement already satisfied: meshtastic>=1.2.5 in /usr/local/lib/python3.9/site-packages (from meshtastic-pygui) (1.2.83)
Requirement already satisfied: requests>=2.25.1 in /usr/local/lib/python3.9/site-packages (from meshtastic-pygui) (2.27.1)
Requirement already satisfied: PySimpleGUI>=4.34.0 in /usr/local/lib/python3.9/site-packages (from meshtastic-pygui) (4.57.0)
Requirement already satisfied: cryptography>=2.1.4 in /usr/local/lib/python3.9/site-packages (from esptool>=3.0->meshtastic-pygui) (36.0.1)
Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in /usr/local/lib/python3.9/site-packages (from esptool>=3.0->meshtastic-pygui) (1.5.4)
Requirement already satisfied: bitstring>=3.1.6 in /usr/local/lib/python3.9/site-packages (from esptool>=3.0->meshtastic-pygui) (3.1.9)
Requirement already satisfied: pyserial>=3.0 in /usr/local/lib/python3.9/site-packages (from esptool>=3.0->meshtastic-pygui) (3.5)
Requirement already satisfied: ecdsa>=0.16.0 in /usr/local/lib/python3.9/site-packages (from esptool>=3.0->meshtastic-pygui) (0.17.0)
Requirement already satisfied: pypubsub>=4.0.3 in /usr/local/lib/python3.9/site-packages (from meshtastic>=1.2.5->meshtastic-pygui) (4.0.3)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.9/site-packages (from meshtastic>=1.2.5->meshtastic-pygui) (6.0)
Requirement already satisfied: tabulate>=0.8.9 in /usr/local/lib/python3.9/site-packages (from meshtastic>=1.2.5->meshtastic-pygui) (0.8.9)
Requirement already satisfied: pexpect>=4.6.0 in /usr/local/lib/python3.9/site-packages (from meshtastic>=1.2.5->meshtastic-pygui) (4.8.0)
Requirement already satisfied: timeago>=1.0.15 in /usr/local/lib/python3.9/site-packages (from meshtastic>=1.2.5->meshtastic-pygui) (1.0.15)
Requirement already satisfied: dotmap>=1.3.14 in /usr/local/lib/python3.9/site-packages (from meshtastic>=1.2.5->meshtastic-pygui) (1.3.26)
Requirement already satisfied: protobuf>=3.13.0 in /usr/local/lib/python3.9/site-packages (from meshtastic>=1.2.5->meshtastic-pygui) (3.19.4)
Requirement already satisfied: pyqrcode>=1.2.1 in /usr/local/lib/python3.9/site-packages (from meshtastic>=1.2.5->meshtastic-pygui) (1.2.1)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.9/site-packages (from requests>=2.25.1->meshtastic-pygui) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests>=2.25.1->meshtastic-pygui) (1.26.8)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests>=2.25.1->meshtastic-pygui) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests>=2.25.1->meshtastic-pygui) (2021.10.8)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.9/site-packages (from cryptography>=2.1.4->esptool>=3.0->meshtastic-pygui) (1.15.0)
Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.9/site-packages (from ecdsa>=0.16.0->esptool>=3.0->meshtastic-pygui) (1.16.0)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/lib/python3.9/site-packages (from pexpect>=4.6.0->meshtastic>=1.2.5->meshtastic-pygui) (0.7.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1.12->cryptography>=2.1.4->esptool>=3.0->meshtastic-pygui) (2.21)
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
[Redacted]MacBook-Pro ~ % meshtastic_pygui
Traceback (most recent call last):
  File "/usr/local/bin/meshtastic_pygui", line 5, in <module>
    from meshtastic_pygui.__main__ import main
  File "/usr/local/lib/python3.9/site-packages/meshtastic_pygui/__main__.py", line 11, in <module>
    import PySimpleGUI as sg
  File "/usr/local/lib/python3.9/site-packages/PySimpleGUI/__init__.py", line 2, in <module>
    from .PySimpleGUI import *
  File "/usr/local/lib/python3.9/site-packages/PySimpleGUI/PySimpleGUI.py", line 128, in <module>
    import tkinter as tk
  File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/__init__.py", line 37, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'

I saw the mention of PySimpleGUI, so I ran this:

pip3 install --upgrade PySimpleGUI

And got this:

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Requirement already satisfied: PySimpleGUI in /usr/local/lib/python3.9/site-packages (4.57.0)
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621

If this is not the right place to add this question, please remove it.