Skip to content Skip to sidebar Skip to footer

Package Pygame Is Not Detected By Pycharm

I installed pygame by using the following command- pip install pygame But when I tried to import pygame in a project on pycharm it shows me error that the module pygame is not fou

Solution 1:

You may need to install the pygame package.

  1. Go to File
  2. Settings
  3. Go to Python Interpreter
  4. Click on the plus icon and search for pygame
  5. Select pygame and click 'install package'.

Solution 2:

Just click on pygame where you imported it, pycharm will show you a red bulb icon click on that red icon you will get these option and install from here.

pycharm installation option


Post a Comment for "Package Pygame Is Not Detected By Pycharm"