ImportError in sololearn code playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

ImportError in sololearn code playground

I'm getting this error while running my code, it raising the ImportError. Traceback (most recent call last): File "", line 1, in <module> import turtle File "../Playground//", line 107, in <module> import tkinter as TK File "../Playground//tkinter/", line 36, in <module> import _tkinter # If this fails your Python may not be configured for Tk ImportError: cannot open shared object file: No such file or directory

3rd Jan 2022, 4:45 PM
Sai Ganesh Darni
Sai Ganesh Darni - avatar
1 Answer
+ 5
Sololearn code playground doesn't support Gui modules like tkinter
3rd Jan 2022, 5:16 PM
Simba - avatar