You need to download and install the pygame module provided by python.
To download and install on Pycharm, follow these steps:
Goto File -> Settings -> click on the tiny plus sign on the right top corner as shown below.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=7031014651748665726)
You'll see a search tab, type the module name there. In your case its pygame.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=9188886400819094768)
Finally, click on install package and you're good to go!