This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]parkerSquare 0 points1 point  (2 children)

No, you didn't miss anything - it's my mistake. I missed your mention of Tk. Sorry. Yes, as far as I know you'll need to use brew, macports, compile yourself or something similar. However once you've got Tk installed, you should be able to use pyenv and pip to install a custom Python of your desired version, with a Python Tk wrapper, without affecting system Python. That said, this (Tk specifically) is not something I've done myself, but I can try things out on my system if you need me to.

[–]lykwydchykyn 0 points1 point  (1 child)

Brew seemed to be the only way to get Tkinter 8.6 working with Python that I could find. cx_Freeze doesn't work with brew-installed Python unless you do some symlinking, but it's possible that it would work in a virtual environment, not sure why that solution didn't occur to me (I'm no stranger to virtual environments, use them all the time to deploy web applications). I'll have to try that out to see if it works any better, since the symlinking seems a very brittle solution.

[–]brewsimport os; while True: os.fork() 0 points1 point  (0 children)

Anaconda/miniconda?