Can't import tkinter in projects created around a week prior

Problem description:
My students have projects created with the basic python project template. It was possible to import tkinter in the projects around a week ago, now suddenly all of the projects are unable to import tkinter.

Expected behavior:
It’s possible to import tkinter into projects created with the basic python template as previously.

Actual behavior:
It’s not possible to import tkinter into projects created with the basic python template as previously.

Steps to reproduce:
Create a python project from the basic template and try to import tkinter

Bug appears at this link:
https://replit.com/@mirusa13/ArtisticNiftyAgent#main.py

Browser:
OS:
Device (Android, iOS, NA leave blank):
Desktop app version (Avatar menu->“Version”) or NA:
Plan (Free, Hacker, Pro Plan):

1 Like

Hi @mirusa13 , welcome to the forums!
Can your students try entering pip install tkinter into the Shell?
Hope this helps!

1 Like

@mirusa13 Try this:

pip install --upgrade pip
pip install tkinter
1 Like

thank you pip install --upgrade pip fix it

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.