[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] PyGame Error
It might be useful to try running `python -v` to test the import. It will tell you what files are being imported and from where. `python -vv` will give even more detail about where it is trying to import from as well.
-Casey
On Mar 5, 2010, at 3:20 PM, Ian Mallett wrote:
> Hi,
>
> I have a friend who is trying to get started with Python/PyGame. He's very new to programming, and has never used PyGame before. There was a strange error, however, and so I could not get an installation working.
>
> I uninstalled Python (and all modules) and then reinstalled Python 2.5.4, then reinstalled PyGame 1.9.1. The result was the same.
>
> "import pygame" works just fine.
> "from pygame.locals import *" does not, saying that the module does not exist.
>
> This is strange; as this is precisely the same setup I have.
>
> Any ideas?
> Thanks,
> Ian