TkinterEP / ttkthemes

A group of themes for the ttk extenstions for Tkinter
GNU General Public License v3.0
364 stars 47 forks source link

Pip installation fails in macOS Big Sur on Apple Silicon #79

Closed tcarroll2 closed 3 years ago

tcarroll2 commented 3 years ago

I have a brand new MacBook Air that I am trying to install ttkthemes on via pip. I have python v3.9.1 installed via pyenv.

The error being given is "RuntimeError: This version of ttkthemes does not support Tk 8.5 and earlier. Please install an earlier version."

I do not get this error under Python 3.7.4/3.8 in Big Sur running on an Intel platform.

I have tcl-tk 8.6.11 installed via homebrew.

tcarroll2 commented 3 years ago

Never mind. I forgot a step. I will put this link here for future reference.

You should change the error message to read "This version of ttkthemes does not support Tk 8.5 and earlier. Please install a later version." Your error message already indicated an earlier version doesn't work, so why tell the user to install an earlier version? I think you mean "Please install a later version."

https://github.com/pyenv/pyenv/issues/1375

RedFantom commented 3 years ago

Well, that's certainly an unfortunate mistake. Thank you for pointing this out, and I'm glad ttkthemes also works on Apple Silicon 👍🏻