Are you sure pydev is running your script with the python 2.7 interpreter
you have installed?

what python interpreters are registered under
"preferences->pydev->interpreter python"? if you have multiple registered,
which is the default? (highest on list)

When you run the script are you doing "run as->python run"? if you use the
"run configurations" dialog, which python interpreter is selected in that
dialog?

On Thu, Jul 28, 2011 at 1:36 PM, Jake b <[email protected]> wrote:

> 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
>

Reply via email to