New course! Every coder should learn Generative AI!
Try a free lesson0
Pygame error
When I input pygame codes, I always get an error stating no pygame module. How do I fix it
3 Answers
+ 3
Try what Brentspine suggested on your compiler/interpreter.
I don't think this is possible with the Sololearn compiler.
+ 1
import os
os.run(“pip -qq install pygame”)
+ 1
It works, i tested it. Important is the -qq