whenever I try running a game window, it says there is a import error, and there is no module named pygame. I have it installed in my terminal, but it still doesn’t work, what do I do? I use the code editor/idle to code.
I tried reinstalling pygame on my terminal, but it already has it. I use the idle code editor, and use the code :
import python
from python import *
New contributor
Nicolas Salamida Jr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.