using the pydev plug in to run python 2.7 code in Eclipse. I believe I was somewhat successful in installing pygame into Eclipse as there is no longer an error when I type "import pygame." However, now when I try to reference anything in pygame like "pygame.init()" or "pygame.time.Clock()" Eclipse is giving me the error "Undefined variable from import."
How can I fix this/import pygame correctly?