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

Important

Apologies if I've misunderstood your question, but besides the fact you get the WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable message, did you actually have any issues with using Python's IDLE to work properly with Tcl/Tk 8.5.9? – Monomeeth ♦ Jan 18 '17 at 22:37. 起因 最近一个朋友在写一个爬虫程序,问我有没有兴趣加入他的计划,本来这不过是程序猿们的无聊实验,但是我也不知道哪来的积极性,决定自己也一起去鼓捣鼓捣,因为之前一直有想法去看看Python,所以这次正好用上Python去写一下,说做就做,just do it!. Oct 13, 2016  Welcome to SoloLearn forum! Why is the Q&A having a question with so many downvotes as the Hey! Can anyone tell me how to make a balloon using CSS Why is mobile version of Sololearn different then the PC ver How to build a full featured blog app using MERN stack? How to create a variable and use it anywhere in the code? This gives the Python language a head start in many projects. Python python PSF a Python Software Foundation Search Success Stories Jobs News Community Socialize Docs Documentation Community GO About Tweets by @ThePSF Python Software @ThePSF Downloads Events Python Python Developer's Guide PEP Index PEP 206 Python Advanced Library PEP 206.

If you are using a Python from any current python.orgPython installer for macOS (3.8.0+, 3.7.2+, 3.6.8, or 2.7.16+),no further action is needed to use IDLE or tkinter.A built-in version of Tcl/Tk 8.6 will be used.

If you are using macOS 10.6 or later, the Apple-suppliedTcl/Tk 8.5 has serious bugs that can cause application crashes.If you wish to use IDLE or Tkinter, do not use the Apple-suppliedPythons. Instead, install and use a newer version of Pythonfrom python.org or a third-party distributor that supplies orlinks with a newer version of Tcl/Tk.

Python's integrated development environment,IDLE, and thetkinter GUI toolkitit uses, depend on the Tk GUI toolkit which isnot part of Python itself. For best results, it is important that theproper release of Tcl/Tk is installed on your machine.For recent Python installers for macOS downloadable from this website,here is a summary of current recommendations followed by more detailedinformation.

PythonReleaseInstallerVariantmacOSReleaseRecommendedTcl/TkAlternateTcl/TkNotRecommended
3.8.0,3.7.5,2.7.16all10.6 to10.15built-in8.6.8

There are currently three major variants of Tk in common use on macOS:

Windows 7: A Chrome window opens once everything is done. Windows 8 & 8.1: A welcome dialog appears. Start Chrome:. If you chose Save, double-click the download to start installing. Chrome dmg.

Aqua Cocoa Tk
A newer native implementation availableas a universal 64-bit and 32-bit binary. This variant is the standard nativemacOS variant in Tk 8.6 and as of Tk 8.5.13. Aqua Cocoa support wasbackported to Tk 8.5 (prior to 8.5.13) and released by Apple starting with macOS 10.6and by ActiveState starting with their 8.5.9.1 release.
Aqua Carbon Tk
Because it is implemented with older macOS Carbon interfaces, it isonly available as a 32-bit binary (usually for Intel and PowerPCprocessors). Aqua Carbon Tk 8.4 is included with macOS releases 10.4through 10.14 and is also available from ActiveState. Aqua Carbon variantsof Tk 8.5 had been available as an ActiveState Community Download priorto ActiveTcl 8.5.9. As of 8.5.13, the Tk project no longer supportsCarbon builds of Tk 8.5. 32-bit-only Python installers downloadablefrom this website for older Python releases were linked with Aqua CarbonTk 8.4.
X11 Tk
The traditional platform-independent UNIX Tk implementation whichrequires an X11 server, such as the Apple X11.app available as anoptional component in older macOS releases or from third-partydistributors. 64-bit and32-bit binaries can be built. While the Python installers downloadablefrom this website do not support X11 Tk, other distributors ofPython for macOS may do so.

built-in 8.6.8

As of Python 3.7.0, 3.6.8, and 2.7.16, all current Python installers for macOSdownloadable from python.org supplytheir own private copies of Tcl/Tk 8.6.8. They do not look for or use anythird-party or system copies of Tcl/Tk. This is an Aqua Cocoa Tk.

ActiveTcl 8.5.18.0

ActiveState provides binary distributions of Tcl/Tk which are upward compatiblewith and generally more up-to-date than those provided by Apple in macOSreleases. This version of Tcl/Tk includes fixes for some critical problemsthat you may encounter using tkinter or IDLE (see Apple 8.5.9 below).You can download an installer for this release fromthe ActiveState web site.Note that ActiveState Community Edition binaries are not open source andare covered by an ActiveState license. You should read the licensebefore downloading to verify that your usage complies with its terms of use.As of Python 3.7.0, 3.6.8, and 2.7.16, no current Python installers for macOSdownloadable from python.org make use of this or any other external versionof Tcl/Tk.

This is an Aqua Cocoa Tk.

Apple 8.5.9

This release is included in macOS 10.7 through at least macOS 10.14.As of this writing,there are at least two known issues with Tk 8.5.9 thatare present in Apple 8.5.9 Tk but fixed in more recent upstream 8.5 releases.The more serious problem is an immediate crash in Tkwhen entering a composition character, like Option-u on a US keyboard.(This problem is documented asTk bug 2907388.)There is also the more general problem of input manager support for compositecharacters(Tk bug 3205153)which has also been fixed in more recent Tcl/Tk 8.5 releases.You can avoid these problems by using a current python.org installeror by using a third-partydistribution of Python that does not use Apple 8.5.9 Tk.This is an Aqua Cocoa Tk.

Apple 8.5.7

This release is included in macOS 10.6. IDLE is known to hang or crashwhen used with the Apple 8.5.7 included in all versions of macOS 10.6.x.Because of this,we strongly recommend that you do not attempt to use Tkinter or IDLE withthe Apple-supplied Python 2.6.1 in 10.6. Instead, install a newer version ofPython that supports a newer version of Tk.This is an Aqua Cocoa Tk.

Note

While Tcl and Tk areseparate frameworks and libraries, they are closely related and arenormally installed or updated simultaneously. You should notattempt to mix-and-match Tcl and Tk versions. References toa specific version of Tk assume the corresponding version ofTcl is installed as well.

The Python for macOS installers downloaded from this website dynamicallylink at runtime to Tcl/Tk macOS frameworks. The Tcl/Tk major version isdetermined 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 useexternal Tcl/Tk frameworks so the rest of this section only applies tonon-current releases and, as such, no longer supported.

The Python 64-bit/32-bit macOS installers for Python 3.6.x andand 2.7.x dynamically link to Tcl/Tk 8.5 frameworks.The dynamically linking occurs when tkinter (Python 3)or Tkinter (Python 2) is first imported (specifically, the internal_tkinter C extension module). By default, the macOS dynamic linkerlooks first in /Library/Frameworks for Tcl and Tk frameworks withthe proper major version. This is the standard location for third-partyor built from source frameworks, including the ActiveTcl releases.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-suppliedframeworks shipped with macOS. (Note, you should normally not modifyor delete files in /System/Library.)

As is common on macOS, the installed Pythons and the Tcl and Tkframeworks are built to run on multiple CPU architectures (universalbinaries) and across multiple macOS levels (minimum deploymenttarget). For Python to be able to dynamically link with a particularTcl and Tk version, the available architectures in the Tcl/Tk frameworksmust include the architecture that Python is running in and theirminimum deployment target should be no greater than that of Python.

  • 2019-10-15 - updated for 3.8.0, 3.7.5, and macOS 10.15
  • 2019-07-08 - updated for 3.7.4; 3.6.x is now security-fix-only
  • 2019-03-25 - updated for 3.7.3
  • 2019-03-03 - updated for 2.7.16
  • 2018-12-24 - updated for 3.7.2 and 3.6.8
  • 2018-10-20 - updated for 3.7.1, 3.6.7, and macOS 10.14
  • 2018-06-27 - updated for 3.7.0 and 3.6.6
  • 2018-05-30 - updated for 3.7.0b5
  • 2018-05-02 - updated for 3.7.0b4 and 2.7.15; removed 32-bit-only refs
  • 2018-03-29 - updated for 3.7.0b3 and 3.6.5
  • 2018-02-28 - updated for 3.7.0b2
  • 2018-01-31 - updated for 3.7.0b1 and 3.6.4
  • 2017-10-03 - updated for 3.6.3 and macOS 10.13
  • 2017-09-16 - updated for 2.7.14; removed 3.5.x
  • 2017-07-17 - updated for 3.6.2
  • 2017-03-21 - updated for 3.6.1 and (belatedly) 3.5.3
  • 2016-12-23 - updated for 3.6.0
  • 2016-12-17 - updated for 2.7.13
  • 2016-09-23 - updated for macOS 10.12
  • 2016-07-31 - updated for 3.5.2 and 2.7.12; removed 3.4.x
  • 2015-12-20 - updated for 3.4.4
  • 2015-12-06 - updated for 3.5.1, 2.7.11, and macOS 10.11
  • 2015-09-13 - updated for 3.5.0
  • 2015-05-23 - updated for 2.7.10 and ActiveTcl 8.5.18.0
  • 2015-02-23 - updated for 3.4.3
  • 2014-12-10 - updated for 2.7.9 and ActiveTcl 8.5.17.0
  • 2014-10-16 - updated for macOS 10.10
  • 2014-10-06 - updated for 3.4.2 and ActiveTcl 8.5.16.0
  • 2014-09-22 - updated for 3.4.2rc1
  • 2014-07-01 - updated for 2.7.8
  • 2014-06-01 - updated for 2.7.7; removed 2.7.6 and 3.3.5
  • 2014-05-18 - updated for 3.4.1 and 2.7.7rc1
  • 2014-03-16 - updated for 3.4.0 and 3.3.5
  • 2014-02-10 - updated for 3.3.4 and 3.4.0rc1
  • 2014-01-05 - updated for 3.4.0b2
  • 2013-11-24 - clarify that the ActiveState website still refers to 8.5.15.0
  • 2013-11-24 - removed built-in for 3.4.0b1, removed 3.3.2 and 2.7.5
  • 2013-11-10 - ActiveTcl 8.5.15.1; removed built-in for 3.3.3rc2 and 2.7.6.
  • 2013-10-27 - updated for 3.3.3rc1 and 2.7.6rc1 and their built-in 8.5.15.
  • 2013-10-24 - updated for macOS 10.9 and ActiveTcl 8.5.15, removed 3.2.5.
  • 2013-10-20 - updated for 3.4.0a4 and its built-in 8.5.15.
  • 2013-09-29 - updated for 3.4.0a3
  • 2013-09-09 - updated for 3.4.0a2 and its built-in 8.5.14.
  • 2013-08-03 - updated for 3.4.0a1 and ActiveTcl 8.4.20
  • 2013-05-18 - updated for ActiveTcl 8.5.14
  • 2013-05-15 - updated for 3.3.2, 2.7.5, and 3.2.5
  • 2013-04-06 - updated for 3.3.1, 2.7.4, and 3.2.4
  • 2012-12-26 - updated for ActiveTcl 8.5.13 and Issue 15853 patch installer
  • 2012-09-29 - updated for 3.3.0 final and reverted to ActiveTcl 8.5.11.1
  • 2012-08-02 - updated for ActiveTcl 8.5.12
  • 2012-07-28 - updated for macOS 10.8
  • 2012-04-11 - updated for 3.2.3 final and 2.7.3 final
  • 2012-03-18 - updated for 3.2.3rc2 and 2.7.3rc2
  • 2012-03-04 - updated for ActiveTcl 8.5.11.1, 3.2.3rc1, 2.7.3rc1, removed 3.1.4
  • 2011-11-12 - updated for ActiveTcl 8.5.11
  • 2011-09-04 - updated for 3.2.2 final
  • 2011-07-21 - updated for macOS 10.7 and ActiveTcl 8.5.10.1
  • 2011-07-09 - updated for 3.2.1 final and ActiveTcl 8.5.10
  • 2011-06-12 - updated for 2.7.2 final and 3.1.4 final
  • 2011-05-30 - updated for 3.2.1rc, 2.7.2rc, and 3.1.4rc
  • 2011-03-08 - add warnings and include details on how Python links with Tcl/Tk releases
  • 2011-02-20 - updated for 3.2 final
  • 2011-01-31 draft 1 - preliminary info for 3.2rc2
  • 2011-01-14 draft 0

Release Date: June 27, 2018

Python 3.7 is now released and is the latest feature release of Python 3. Get the latest release of 3.7.x here. We plan to continue to provide bug-fix releasesfor 3.6.x though the end of 2018 and security fixes through 2021.

Python 3.6.6 is the sixth maintenance release of Python 3.6.The Python 3.6 series contains many new features and optimizations.

Note

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

Python 3.7.0 is now released and is the latest feature release of Python 3. Get 3.7.0 here. We plan to continue to provide bug-fix releasesfor 3.6.x though at least the end of 2018 and security fixes through 2021.

Among the new major new features in Python 3.6 are:

  • PEP 468, Preserving Keyword Argument Order
  • PEP 487, Simpler customization of class creation
  • PEP 495, Local Time Disambiguation
  • PEP 498, Literal String Formatting
  • PEP 506, Adding A Secrets Module To The Standard Library
  • PEP 509, Add a private version to dict
  • PEP 515, Underscores in Numeric Literals
  • PEP 519, Adding a file system path protocol
  • PEP 520, Preserving Class Attribute Definition Order
  • PEP 523, Adding a frame evaluation API to CPython
  • PEP 524, Make os.urandom() blocking on Linux (during system startup)
  • PEP 525, Asynchronous Generators (provisional)
  • PEP 526, Syntax for Variable Annotations (provisional)
  • PEP 528, Change Windows console encoding to UTF-8
  • PEP 529, Change Windows filesystem encoding to UTF-8
  • PEP 530, Asynchronous Comprehensions

Please see What’s New In Python 3.6 for more information.

  • PEP 494, 3.6 Release Schedule
  • Report bugs at https://bugs.python.org.
  • Help fund Python and its community.
  • The binaries for AMD64 will also work on processors that implement the Intel 64 architecture. (Also known as the 'x64' architecture, and formerly known as both 'EM64T' and 'x86-64'.)
  • If installing Python 3.6 as a non-privileged user, you may need to escalate to administrator privileges to install an update to your C runtime libraries.
  • There are now 'web-based' installers for Windows platforms; the installer will download the needed software components at installation time.
  • There are redistributable zip files containing the Windows builds, making it easy to redistribute Python as part of another software package. Please see the documentation regarding Embedded Distribution for more information.

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

Visit Http://www.python.org/download/mac/tcltk/
  • NEW as of 3.6.5: we are providing two binary installer options for download. The new variant works on macOS 10.9 (Mavericks) and later systems and comes with its own batteries-included version oF Tcl/Tk 8.6 for users of IDLE and other tkinter-based GUI applications. It is 64-bit only as Apple is deprecating 32-bit support in future macOS releases. For 3.6.5+, the 10.9+ variant is offered as an additional more modern alternative to the traditional 10.6+ variant in earlier 3.6.x releases. The 10.6+ variant still requires installing a third-party version of Tcl/Tk 8.5. If you are using macOS 10.9 or later, consider using the new installer variant, unless you are building Python applications that also need to work on older macOS systems. Binary extension modules (including wheels) built for earlier versions of 3.6.x with the 10.6 variant should continue to work with either 3.6.6 variant without recompilation.
  • Both python.org installer variants include private copies of OpenSSL 1.0.2. Please carefully read the Important Information displayed during installation for information about SSL/TLS certificate validation and the Install Certificates.command.

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

VersionOperating SystemDescriptionMD5 SumFile SizeGPG
Gzipped source tarballSource release9a080a86e1a8d85e45eee4b1cd0a18a222930752SIG
XZ compressed source tarballSource releasec3f30a0aff425dda77d19e02f420d6ba17156744SIG
macOS 64-bit/32-bit installerMac OS Xfor Mac OS X 10.6 and laterc58267cab96f6d291d332a2b163edd3328060853SIG
macOS 64-bit installerMac OS Xfor OS X 10.9 and later3ad13cc51c488182ed21a50050a38ba726954940SIG
Windows help fileWindowse01b52e24494611121b4a866932b41238139973SIG
Windows x86-64 embeddable zip fileWindowsfor AMD64/EM64T/x647148ec14edfdc13f42e06a14d617c9217186734SIG
Windows x86-64 executable installerWindowsfor AMD64/EM64T/x64767db14ed07b245e24e10785f9d28e2931930528SIG
Windows x86-64 web-based installerWindowsfor AMD64/EM64T/x64f30be4659721a0ef68e29cae099fed6f1319992SIG
Windows x86 embeddable zip fileWindowsb4c424de065bad238c71359f3cd71ef26401894SIG
Windows x86 executable installerWindows467161f1e894254096f9a69e2db3302c30878752SIG
Windows x86 web-based installerWindowsa940f770b4bc617ab4a308ff1e27abd61293456SIG