I'm a beginner, and from my first steps, I have a strange problem. No matter what I have done (google it, set a virtual environment, reinstalling the language several times, installing deferent versions of the language) when I'm trying to give the code:
Though it is included with Python (as I know)
I am running a Windows 10 tablet and I have the 3.7.3 version of Python.
from future.moves import Tkinter as tk window = tk.tk() # to rename the title of the window window.title("GUI") # pack is used to show the object in the window label = tk.label(window, text = "Welcome to DataCamp's Tutorial on Tkinter!").pack()It gives me the following error:
Error:Traceback (most recent call last):
File "D:/Applications/Python 3.7.2/Scripts/Modules-and-Functions-in-Python-Introduction-to-Tkinter-Source-code/sowtest.py", line 1, in <module>
from future.moves import Tkinter as tk
File "C:\Users\Αλέκος Βαγιώνης\venv\python 3.7\lib\site-packages\future\moves\tkinter\__init__.py", line 27, in <module>
from Tkinter import *
ModuleNotFoundError: No module named 'Tkinter'
Process finished with exit code 1
All that, after I have tried with pip in the CMD to install the module.Though it is included with Python (as I know)
I am running a Windows 10 tablet and I have the 3.7.3 version of Python.