Strange that adding 'pygame' to the forced builtins didn't work... please
create an issue for that in the tracker (I have to reproduce your env
before being able to give you more feedback).

Cheers,

Fabio

On Sat, Jul 25, 2015 at 5:20 PM, gustavk <gust...@protonmail.com> wrote:

> Hi,
>
> I'm using Pygame which is working without any problem with Python 3.4 in
> my virtualenv (Ubuntu 15.04) and Eclipse Luna release 2 (4.4.2)
> The only problem is the false error triggered by Pydev for some modules
> from Pygame.
>
> Strangely, it's not for all the imports:
> `from pygame.locals import *` raises no error,
>
> but doing:
> -`pygame.init()` raises the `undefined variable from import` (after having
> done `import pygame`of course).
> -Other import error:
> Using constant defined by `from pygame.locals import *' (this module
> allows to import constants into the namespace): the locals.py imports
> itself in fact another file: constants.cpython-34m.so
>
> I've tried adding `pygame` in forced builtins in the interpreter.
>
> I've read different answers for this type of import problems but contrary
> to other, everything is running without problem, except these errors raised
> by Pydev.
>
> It seems a problem with `.so` file (but I didn't find it for
> `pygame.init()`??). How is it possible to solve it?
> Thanks !
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Pydev-users mailing list
> Pydev-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pydev-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to