Why python tkinter not working on the code playground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16

Why python tkinter not working on the code playground?

Tried to run python tkinter but giving error message "This probably means that Tcl wasn't installed properly."

5th Mar 2018, 2:53 AM
Nilavarasan
Nilavarasan  - avatar
7 Answers
+ 24
The Code Playground Supports Only The Command Line Output Not The GUI For Example This Code Here Should Output A Red Text But It Will Output Only The Color Encoding https://code.sololearn.com/caIUxjFOd6MZ/?ref=app Note : SoloLearn Servers Are Windows Servers And The Installed Library Doesn't Support Tkinter It I'll Just Say That It's Not Supported On This Platform
5th Mar 2018, 12:51 PM
warlord
warlord - avatar
+ 2
@Benjamin Smylie, I wasn’t meaning to imply that Tkinter is a third-party module.
6th Mar 2018, 12:19 PM
RuthlessDust
RuthlessDust - avatar
+ 1
Code Playground does not support Tkinter, a standard module, or any third-party, not standard, Python modules.
5th Mar 2018, 7:05 PM
RuthlessDust
RuthlessDust - avatar
+ 1
@RuthlessDust Ah, sorry! I misread it, I see what you meant now. I seriously haven't woken up yet :P
6th Mar 2018, 12:25 PM
Ben Smylie (he/him)
Ben Smylie (he/him) - avatar
+ 1
@Benjamin Smylie Lol, it’s fine.
6th Mar 2018, 12:48 PM
RuthlessDust
RuthlessDust - avatar
0
I believe he is right
5th Mar 2018, 5:15 AM
Shallow_Spinn
Shallow_Spinn - avatar
0
@RuthlessDust You're right that it doesn't necessarily support third-party modules, but Tkinter is included with python as standard, it's not third party. Tkinter isn't supported here because the code playground only supports console output.
6th Mar 2018, 11:46 AM
Ben Smylie (he/him)
Ben Smylie (he/him) - avatar