I have the following code:
import tkinter as tk
window = tk.Tk()
When I run python3 main.py
it returns:
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 s
uppress this warning.
From my understanding, tkinter
comes installed with python, so there is no need to run python3 -m pip install tkinter
(I have tried this anway) and it also doesn't show up in pip list
for that reason. I am running Python 3.6.1 from within a virtual environment. Thanks for any help with this.