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

[pygame] problem importing pygame in Windows



I'm running python 2.6 with pygame for 2.6 on windows 7, when i try to
import pygame i get an error, i had no problems installing python and
pygame and I can't find a solution on google so I would really
appreciate any help in resolving this. I also tried installing
different versions of python and pygame and had same error.
Here is the error:

Python 2.6 (r26:66721, Oct  2 2008, 11:06:43) [MSC v.1500 64 bit
(AMD64)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python26\lib\site-packages\pygame\__init__.py", line 95, in
<module>
    from pygame.base import *
ImportError: DLL load failed: %1 is not a valid Win32 application.
>>> exit()

Zach