Tcl Tk Download Mac



Mac

Tk is the standard GUI not only for Tcl, but for many other dynamic languages, and can produce rich, native applications that run unchanged across Windows, Mac OS X, Linux and more. Learn more Get Tcl/Tk ( 8.6 ) ( 8.7-alpha ). The Python for macOS installers downloaded from this website dynamically link at runtime to Tcl/Tk macOS frameworks. The Tcl/Tk major version is determined when the installer is created and cannot be overridden. All current python.org installers for Python 3.7.x, 3.6.x, and 2.7.x link to their own built-in Tcl/Tk 8.6 frameworks and do not use external Tcl/Tk frameworks so the rest of this. If you omitted that build directive, then home brew will compile the Python version to use Apple's default Tcl/Tk 8.5.9. If you download Python dot org's Python binary, either before, or after you install ActiveState 8.5.18 Tcl/Tk libraries, it will use these libraries because that is what Python dot org compiles its binary distribution to use.

Apple's Python 2.7.10 was compiled to look for Tcl/Tk 8.5.9. There is nothing you can do to make it use the ActiveState 8.5.18 or later libraries.


If you installed Python 2.7.13, or 3.6.2 via the home brew package manager, and you specified --with-tcl-tk on the brew install line, then you will be using homebrew's version of Tcl/Tk (whatever that is). If you omitted that build directive, then home brew will compile the Python version to use Apple's default Tcl/Tk 8.5.9.


If you download Python dot org's Python binary, either before, or after you install ActiveState 8.5.18 Tcl/Tk libraries, it will use these libraries because that is what Python dot org compiles its binary distribution to use if present.


I am still using the old, unsupported Pythonbrew package manager (with my own patches), and it just uses the ActiveState 8.6.4 Tcl/Tk libraries that I have installed when compiling for Python 2 or 3 builds.


Here is a short Python script that informs what version of the Tcl/Tk libraries the current Python version is using.


#!/usr/bin/env python

# coding: utf-8


import sys


try:

Active Tcl Tk Download

import Tkinter as tk # Python 2

except ImportError:

import tkinter as tk # Python 3

Tcl/tk Download Mac


print('Tcl Version: {}'.format(tk.Tcl().eval('info patchlevel')))

Tcl Tk 8.6

print('Tk Version: {}'.format(tk.Tk().eval('info patchlevel')))

Tcl Tk Install

sys.exit()

Tcl/tk Download Mac Installer

Sep 14, 2017 3:24 PM