[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Getting pygame import to work in pydev/eclipse, shows as error.



In pydev/eclipse I can run a file using pygame. So it runs, but, (even for new projects)

I get the errors: ( in the UI. it still runs, but autocompletion for pygame doesn't load. )

import pygame
unresolved import pygame

from pygame.locals import *
from pygame import Color, Rect, Surface
unresolved import Color
unresolved import Rect
unresolved import Surface

Pygame is installed to: C:\Python27\Lib\site-packages\pygame

What am I missing?

--
Jake