Even if you install the latest version of Python from python.org, the actual version of Tcl/Tk installed on your system may vary widely. This can cause problems if you rely on features in the most recent Tk.
The following chart shows the versions installed by default on different systems:
OS
|
Tk version
|
Windows | 8.6.6 |
macOS | 8.5.9 |
Debian Linux 9 | 8.6.6 |
Ubuntu Linux 18.04 | 8.6.8 |
Windows and most Linux distributions are shipping a relatively recent version of 8.6, but macOS defaults to use its system-installed Tk version, which is 8.5.9. This can be a problem if you want to use any of the new 8.6 features, such as we encountered in Chapter 8, Improving the Look with Styles and Themes ...