Importing modules


Hey guys, trying to import modules on python and failing miserably don’t now what I am doing wrong, please help.


Hi @robertw27, What module have you tried to import, and how have you tried to import it?


Trying to import pygame and numpy on pycharms which I already pip installed. I am still pretty new to programming so may be quite a basic error.

`import pygame`

Traceback (most recent call last):
File “C:/Users/robertw27/.PyCharmCE2019.2/config/scratches/”, line 1, in
import pygame
ModuleNotFoundError: No module named ‘pygame’

Process finished with exit code 1

Even though it says I already have pygame in command prompt