0

This is the error it shows me when i simply write import pygame. Does anyone know whats wrong?

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-8-671b35b41eba> in <module>
----> 1 import pygame

ModuleNotFoundError: No module named 'pygame'
NKSM
  • 5,422
  • 4
  • 25
  • 38
  • Have you installed pygame (pip install pygame)? – Tyler2P Oct 03 '20 at 21:22
  • Does this answer your question? [ImportError: No module named 'pygame'](https://stackoverflow.com/questions/18317521/importerror-no-module-named-pygame) – DougM Oct 03 '20 at 21:22

1 Answers1

0

You need to pip install pygame by typing the following into your terminal: pip install pygame

You can then check the install using, pip show pygame

DougM
  • 920
  • 1
  • 9
  • 21