You probably installed the 32-bit version of Pygame on a 64-bit version
of Python. An unofficial 64-bit version of Pygame can be found at
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame>.
Christoph
On 12/31/2009 4:37 AM, inhahe wrote:
Can someone help me with this weird error?
I've just recently installed Python 2.6 and recently installed pygame.
No other Python should be installed because I uninstalled them all.
Python 2.6.4 (r264:75708, Oct 26 2009, 07:36:50) [MSC v.1500 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "E:\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.