Python’s integrated development environment, IDLE, and the tkinter GUI toolkit it uses, depend on the Tk GUI toolkit which is not part of Python itself. If possible, install and use a newer version of Python and of Tcl/Tk. The Python for macOS installers downloaded from this website dynamically link at runtime to Tcl/Tk macOS frameworks. References to a specific version of Tk assume the corresponding version of Tcl is installed as well. Is there a python installer for Tcl / Tk? The dynamically linking occurs when tkinter (Python 3) or Tkinter (Python 2) is first imported (specifically, the internal _tkinter C extension module). The Python 64-bit/32-bit macOS installers for Python 3.6.x and and 2.7.x dynamically link to Tcl/Tk 8.5 frameworks. How to connect tkinter to Tcl / Tk on Mac? Instead, install and use a newer version of Python from or a third-party distributor that supplies or links with a newer version of Tcl/Tk. If you wish to use IDLE or Tkinter, do not use the Apple-supplied Pythons. If you are using macOS 10.6 or later, the Apple-supplied Tcl/Tk 8.5 has serious bugs that can cause application crashes. What’s the latest version of Tcl / Tk for Mac? Tcl interpreters are available for many operating systems, allowing Tcl code to run on a wide variety of systems. It is commonly used embedded into C applications, for rapid prototyping, scripted applications, GUIs, and testing. Tcl is almost dead because of marketing, support and availability.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |