Importing modules


#1

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


#2

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


#3

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.


#4
`import pygame`

Traceback (most recent call last):
File “C:/Users/robertw27/.PyCharmCE2019.2/config/scratches/scratch.py”, 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