ActiveTcl 8.6 not being detected by ActivePython 3.6

Posted by mikellis on 2017-07-12 11:12

I have installed Active Python 3.6 and Active Tcl 8.6 on a Mac with seemingly no issues, but I have realised Tcl/tk 8.5 is still being used. I am trying to use Tkinter with Python3.6 and need to use Tcl/tk 8.6. Any help would be great as I have spent hours on this already. I believe I need to override something Apple is doing.

ActiveState Staff
Thu, 2017-07-13 07:53

The Python community advises to use Tcl 8.5 not 8.6 as you can see in the link here:

ActivePython is based on the community python.

jctj | Tue, 2017-07-18 11:29


If you search the forums, you will find a number of threads about Mac OSX and 8.6. It appears that 8.5 installs in the System library and is needed by the OS while 8.6 installs in your User Library and if you try to call/use/load the 8.6 with Python (any version - not just ActivePython) you will get the 8.5. For Python to know to use 8.6 (and let the OS still use 8.5) you need to specify that when you compile Python - so if you downloaded an already-compiled version of Python, it is fixed and you can't change it. As you can see, there is a solution but it involves downloading the source files and using gcc to compile Python with the correct code to direct it to 8.6 in your User Library rather than 8.5 in the System Library....

I have not found a good fix yet although there are hints that someone has. I went down that rabbit hole for a little bit but pretty quickly figured I would get stuck if I went any further, and backed on out.... 8.5 is working fine for anything I need - just be sure to install 8.5.18.

Related Threads:

and others.

Good luck!