No Pygame Module on Sololearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

No Pygame Module on Sololearn?

Greetings Everyone, I was trying to create a python game on code playground and also to save it as my portfolio, unfortunately, am getting this error, Traceback (most recent call last): File "..\Playground\", line 1, in <module> \ufeffimport pygame ImportError: No module named 'pygame' is there anyone else experiencing the same?

29th Apr 2018, 8:49 AM
Abdullahi Issack
Abdullahi Issack - avatar
2 Answers
+ 9
The Code Playground doesn't support graphic modules.
29th Apr 2018, 8:53 AM
Nikhil
Nikhil - avatar
+ 1
Yes no module named pygame, it is for graphical user interface like tkinter,pqty and turtle ,you have to install required packages, and you can't use it in playground but in your own pc
29th Apr 2018, 8:59 AM
HBhZ_C
HBhZ_C - avatar