mathoudebine/turing-smart-screen-python

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

Numbski opened this issue · 2 comments

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:

  • Smart screen model [e.g. Turing 5", XuanFang 3.5”]
  • Revision of this project [e.g. 3.0.0, main branch, specific commit]
  • OS with version [e.g. Windows 11, Ubuntu 22.04]
  • Python version [e.g. Python 3.10]
  • Hardware [e.g. Intel CPU, Nvidia GPU, Raspberry Pi 3 B+ ...]

Additional context
Add any other context about the problem here.

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

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