Eliminate WARNING when starting Python IDLE

Install Python 3.6 and say, "Well, let's run it in" Hello world "." The following warning occurred when IDLE was started for the first time, so talk about how to resolve it.

[Warning content] WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information.

スクリーンショット 2017-07-16 8.20.53.png

If you go to the URL in the warning text, there is a description of the module to be installed depending on the OS version as shown below.

FireShot Capture 11 - IDLE and tkinter with Tcl_Tk on macOS _ - https___www.python.org_download_ma.png

Since the OS version is Mac OS Sierra (10.12), install "ActiveTcl 8.5.18.0"

Clicking the link will take you to the ActiveState page, so install "ActiveTcl 8.5.18.0"

https://www.activestate.com/activetcl/downloads ダウンロード.png

ダウンロード (1).png

Download and launch the installer スクリーンショット 2017-07-16 8.48.05.png

It may be an option in particular, so press "Continue" to complete the installation スクリーンショット 2017-07-16 8.46.16.png

Try launching Python's IDLE I still get a warning ...

スクリーンショット 2017-07-16 8.20.53.png

If you look it up, the version of Tcl / Tk used by Python is It seems to be associated during Python installation and cannot be changed later.

Reinstall Python and try launching Python's IDLE The warning text is gone! スクリーンショット 2017-07-16 8.46.54.png

When I check the information on the net, it seems that even if this warning appears, I can ignore it and use Python normally. It was unpleasant to see a warning suddenly when I started it for the first time, so I resolved it. I hope it helps those who have the same symptoms.

Recommended Posts

Eliminate WARNING when starting Python IDLE
[Note] Python, when starting machine learning / deep learning [Links]
GRPC starting with Python
Story when iterating python tuple
[Python] Eliminate Chrome Webdriver errors
Reinforcement learning starting with Python
Specify options when running python
Attention when os.mkdir in Python
Error when playing with python
3 months note for starting Python
[Python, Excel] Eliminate cell merging
Python starting with Hello world!
I want to run the Python GUI when starting Raspberry Pi
What to do if Insecure Platform Warning appears when running Python
"Value Error: Unable to configure handler'file_output_handler'" when starting a python program