Tkinter deprecation warning

Question:

DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don’t rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.

I tried updating Tkinter and Python on my Mac but without success. I did read some other posts with similar problems, but found none helpful.

Asked By: Jan

||

Answers:

A feature of a language you are trying to use being depreciated means that the developers of the language are discouraging you from using that feature because it has been superseded by a newer/better version, as explained in this answer. It will still work as intended, but it may not be supported in a future version of Python. You can still use it, but this is something to keep in mind if you are making something that you plan on supporting in the future.

Updating Python will not make a difference to whether it works unless the version you are updating to does not support tkinter anymore, in which case, you would not be able to use it.

Answered By: hjpoe
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.