Visit Http://www.python.org/download/mac/tcltk/

admin

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.


Downloading Tkinter and Tcl/Tk., from: Tcl/Tk Developer Xchange. For Windows or Mac OS 9, the Python installers already contain a full Tcl/Tk installation. For Windows, an alternative way to download Python and Tcl/Tk is Pythonware's Python for Windows installer. This takes less memory, but you don't get the documentation.

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.

Visit Http //www.python.org/download/mac/tcltk/ For Current Information


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.


Visit http //www.python.org/download/mac/tcltk/

Advanced mac cleaner que es. #!/usr/bin/env python

# coding: utf-8


import sys


try:

//www.python.org/download/mac/tcltk/

Visit Http //www.python.org/download/mac/tcltk/

import Tkinter as tk # Python 2

except ImportError:

import tkinter as tk # Python 3


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

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

Visit Http://www.python.org/download/mac/tcltk/ United States

sys.exit()

Visit Http://www.python.org/download/mac/tcltk/ Us

Sep 14, 2017 3:24 PM