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

Re: [pygame] Help me!



On 2015-07-05 13:11, Oliver Nichol wrote:

Roght I know I already made a thread but  this has more info. I have windows 7 64 bit and am running python 3.2. I have installed pygame and the installer ran fine but this is what happens when I try to start it:

 

Python 3.2.5 (default, May 15 2013, 23:07:10) [MSC v.1500 64 bit (AMD64)] on win32

Type "copyright", "credits" or "license()" for more information.

>>> from pygame import *

Traceback (most recent call last):

  File "<pyshell#0>", line 1, in <module>

    from pygame import *

  File "C:\Python32\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.

>>> 

 

Please help me fix this problem!


Hi

Make sure that your python and pygame version have the same bit-ness (64 bit python can't load pygame compiled for 32 bit and vice versa).

The only pygame 64 bit Version I know can be found here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame


Hope that helps.

~DR0ID