The following forum message was posted by hackop at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3852005:
System 1: Windows 7 Pro 64-bit Python 3.1 PyDev 1.6.2 Eclipse 3.6 (Helios) System 2: Virtual Machine Windows XP Pro SP3 32-bit Python 2.6 PyDev 1.6.2 Eclipse 3.6 (Helios) Eclipse 3.5 (Galileo) I've installed the appropriate PyGame library version for each of the Python installs on either platform (Win 7 and Win XP). Through IDLE I can import and manipulate the PyGame modules perfectly. When I attempt to use Eclipse I get errors even on importing the module (Unresolved import: pygame). I have made sure that the PYTHONPATH setup contains the site-packages/pygame folder. I have made sure that my interpreters are set to the proper grammar version for the python executable. I've re-added my interpreter to try and clear the cache. I've manually added the python home directory to my PATH environment variable in Windows (just to see). I get the same errors on both systems when trying to work with PyGame. I have not tried any other third-party libraries yet. I have added the pygame library to forced built-ins. This did not make a difference. Right now there is no code completion for PyGame, nor can I run Python scripts at all when I attempt to use it through Eclipse. The error at runtime is: Traceback (most recent call last): File "F:\Documents\Eclipse\TestPygame\src\pygame.py", line 7, in <module> import pygame File "F:\Documents\Eclipse\TestPygame\src\pygame.py", line 8, in <module> from pygame.locals import * ImportError: No module named locals Typing the same in IDLE results in no errors and I can continue along with my code so I know that the library is installed properly. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users