Martin Panter added the comment:
The problem here is you have quoted the Python 3 documentation (see in the
title, or the version switcher at the top), when you are presumably using
Python 2. The module changed name to lowercase in Python 3.
--
nosy: +martin.panter
___
New submission from Rishit Bansal:
The statement required to check whether Tkinter is installed on a system is
mentioned in the documentation as python -m tkinter , whereas it is supposed to
be python -m Tkinter (with a big 't'). Please correct this error on the
documentation here:https://docs