Python Forum

Full Version: Pycharm Cannot Find Pygame Module
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am currently having issues in the Pycharm environment regarding a possible linkage issue with Pygame. Everytime I try to import Pygame the environment says that it cannot find a module named Pygame.

For full disclosure I have downloaded Pygame via pip (tested in idle and checks out to confirm due to no error message via the import pygame command)and is currently able to open Pygame window in the idle.

Can anyone please help and provide a possible solution if possible?

Below are the two lines of code I am trying to start Pygame with in Pycharm:

import sys

import pygame
Make sure the python interpreter invoked with PyCharm is the one you installed pygame to via pip.
Ok thank you very much for your assistance!