How to Install Pygame?

I’m using Python with pygame installed. Everything works perfectly on IDLE. But when I run it on Atom through the Hydrogen IDE, I get modulenotfound error. I’m on a Mac, how can I fix this?

Consider focusing your research to:

  1. Which Python version does pygame need?

  2. Which Python version does IDLE point to?

  3. Which Python version does Hydrogen point to in your installation?


HINT: