Sublime Forum

Sublime 3 throws this error while importing tkinter.ImportError: No module named tinker

#1

sublime 3 throws this error while importing tkinter.ImportError: No module named tinker

0 Likes

#2

This is not available on the standart python 3.3 library.

Tkinter is Python’s de-facto standard GUI (Graphical User Interface) package. It is a thin object-oriented layer on top of Tcl/Tk. Tkinter is not the only GuiProgramming toolkit for Python. It is however the most commonly used one… https://wiki.python.org/moin/TkInter

You need to install it externally on Sublime Text. You can either try to clone this Python Module locally and perform local imports as in from . import tkinter or install it as a Sublime Text dependency and import it like import tkinter:

You can read more about Sublime Text dependencies on:

  1. https://packagecontrol.io/docs/dependencies
0 Likes