
The reason I believe this will resolve your issue is that upon reading the info I quoted, it's clear the Tcl/Tk version used by Python is chosen during the installation process and cannot be changed without installing Python again. Source: Look for the How Python Chooses Which Tk Library To Use subheading on īecause of this, I am 99.9% certain that now you have updated to Tcl/Tk 8.5.18.0, what you need to do is to re-install Python 2.7.13. (Note, you should normally not modify or delete files in /System/Library.) If frameworks of the proper major version are not found there, the dynamic linker looks for the same version in /System/Library/Frameworks, the location for Apple-supplied frameworks shipped with macOS. This is the standard location for third-party or built from source frameworks, including the ActiveTcl releases. By default, the macOS dynamic linker looks first in /Library/Frameworks for Tcl and Tk frameworks with the proper major version. In either case, the dynamically linking occurs when tkinter (Python 3) or Tkinter (Python 2) is first imported (specifically, the internal _tkinter C extension module).
Activetcl mac for mac os x#
32-bit-only Python installers for Mac OS X dynamically link to Tcl/Tk 8.4 frameworks. The Python 64-bit/32-bit Mac OS X installers for Python 3.6.x, 3.5.x, and 2.7.x dynamically link to Tcl/Tk 8.5 frameworks. The Tcl/Tk major version is determined when the installer is created and cannot be overridden. The Python for Mac OS X installers downloaded from this website dynamically link at runtime to Tcl/Tk macOS frameworks.
Activetcl mac install#
How can I get IDLE and the upgraded python install from homebrew to recognize the upgraded Tcl/Tk 8.5.18.0? In other words, how can I resolve the warning message?Īccording to this Python Software Foundation page:
Activetcl mac upgrade#
After I installed the DMG for 8.5.18.0, the bash terminal and Python are not recognizing the Tcl/Tk upgrade (Note that it is recognizing Tcl/Tk (8.5.9) instead of 8.5.18.0. Perhaps it is important to note that I'm running a brew install of Python 2.7.13. Visiting the link in the error message, I read the documentation and installed Tcl/Tk version 8.5.18.0 from this source. > WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Type "copyright", "credits" or "license()" for more information. This is the error message I'm getting when I open IDLE: Python 2.7.13 (default, Dec 18 2016, 07:03:39) Apple reorganized the directories for receipt storage and eliminated any space for 3rd-party files from it.I'm running macOS Sierra 10.12.2 and am trying to get Python's IDLE to work properly with Tcl/Tk. Note: On Snow Leopard and higher the uninstall script is installed under /Library/Frameworks/Tcl.framework/Versions//Resources/Scripts/uninstall instead. For example: $ cd /Library/Receipts/ActiveTcl-/Contents/Resources This will remove all files, symbolic links and directories created during installation, after the user has confirmed his intentions. Run the uninstall script provided by ActiveTcl and installed under /Library/Receipts/ActiveTcl-/Contents/Resources/uninstall. bash_ profile file in the user’s home directory. If this directory is not in the user’s PATH environment variable, it can be added manually to the. More information on the command line interface to Installer can be found in its man page.ĪctiveTcl executables ( wish, tclsh and tkcon) are installed in /usr/local/bin. $ sudo installer -pkg /Volumes/ActiveTcl-/ActiveTcl-.pkg -target / To install the ActiveTcl Apple installer from the command line: MacOS includes a non-interactive command line interface to Apple’s Installer.


More information on the command line interface to Installer can be found in its man page.
• If the browser does not automatically mount the disk image and open the mounted folder in Finder, double-click ActiveTcl-.dmg to do so. To install the ActiveTcl Apple installer from the command line: sudo installer -pkg /Volumes/ActiveTcl-Activetcl mac download#
Download the ActiveTcl disk image ( ActiveTcl-.dmg).The disk image contains an installer package (.pkg) bundle that installs ActiveTcl. ActiveTcl is distributed on macOS as a disk image (.dmg) file.
