Argh, I overlooked the simple thing, yes I installed 64bit python (not sure why 
I did that...).  I'll try 32bit python with 32bit pygame.

Thanks!







Date: Wed, 19 Aug 2009 19:42:57 -0300
Subject: Re: [pygame] Pygame Installation problems (Python 2.6.2)
From: henrique.nakash...@gmail.com
To: pygame-users@seul.org

Maybe you are trying to use a 64-bit python to run a 32-bit pygame? Since 
pygame has compiled .pyd files, that probably would not work.

On Wed, Aug 19, 2009 at 18:51, Scott K. <slandsh...@hotmail.com> wrote:






Hey everyone, hopefully this email works.  This is my first time using a 
mailing list (crazy, I know).

Anyway, I am having trouble getting python to recognize (import) pygame.

I am running vista 64bit, I have Python 2.6.2 installed (works fine), I 
installed pygame-1.9.1.win32-py2.6.msi into my directory that contains python 
2.6.2.


When I open IDLE and try: import pygame
I get this error:


IDLE 2.6.2      
>>> import pygame

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>

    import pygame
  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.



I do see the pygame folder listed here root:\python26\include\pygame

I also see the pygame folder listed here root:\python26\lib\site-packages\pygame




I'm not sure what else I'm missing here.

Thanks for any helpful or insightful replies!

-Scott Kincaid
Very noob python programmer.

With Windows Live, you can organize, edit, and share your photos. Click here.



_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009

Reply via email to