mathoudebine / turing-smart-screen-python

Unofficial Python system monitor and library for small IPS USB-C displays like Turing Smart Screen or XuanFang
GNU General Public License v3.0
966 stars 166 forks source link

On mac, python-tk is already installed via homebrew, but the error to install tkinter persists. #516

Closed Numbski closed 1 month ago

Numbski commented 1 month ago

Describe the bug
I can try to install python-tk on Mac, but it is already installed:

==> Downloading https://formulae.brew.sh/api/formula.jws.json
##O=#    #
==> Downloading https://formulae.brew.sh/api/cask.jws.json

Warning: python-tk@3.12 3.12.3 is already installed and up-to-date.
To reinstall 3.12.3, run:
  brew reinstall python-tk@3.12

So then I go to launch configure.py (while in the same directory):

[ERROR] Tkinter dependency not installed. Please follow troubleshooting page: https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#all-os-tkinter-dependency-not-installed
Garou:~/git/turing-smart-screen-python  tshadwick$

Verifying that I am indeed using python3 from homebrew:

/usr/local/bin/python3
Garou:~/git/turing-smart-screen-python  tshadwick$ ls -alhs /usr/local/bin/python3
0 lrwxr-xr-x  1 tshadwick  admin    40B Apr 19 12:03 /usr/local/bin/python3 -> ../Cellar/python@3.12/3.12.3/bin/python3

To Reproduce
Steps to reproduce the behavior:

  1. homebrew update && homebrew upgrade && homebrew install python-tk
  2. python3 configure.py

Expected behavior
Literally anything but this error.

Screenshots / photos of the Turing screen
Add screenshots or photos of the rendering on the smart screen to help explain your problem. You can drag and drop photos here to add them to the description.

Environment:

Additional context
Add any other context about the problem here.

Numbski commented 1 month ago

I cannot seem to fix the formatting above. I did try. :\

Numbski commented 1 month ago

This is so weird. I switched to a venv and this resolved itself. So very confusing.