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

Re: [pygame] ImportError: DLL load failed



Sorry for the mistake of file lists!

But the problem is solved. (With Dependency Walker we saw that pygame
for python 2.5 was installed, but we use python 2.6.)

Thank you for the help!

PS. Next week we will start three courses in Python and also some
pygame. If you have any small and nice games in pygame, please send
them to me. (It would be nice to be able to show some games during the
beginning of the courses and say "In the end of the course you will be
able to understand how this games are done and be able to modify them
a bit.)

\H


On Wed, Aug 11, 2010 at 7:52 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
> Hi,
>
> Thanks for the listing, though I see the .pyd extension modules were listed
> twice. I also want to know if the .dll files are present.
>
> The Pygame installer checks the Python version. Pygame for Python 3.1 would
> not install for Python 2.6. Also, I see PYD files in the directory listing
> that would be missing for Python 3.1. But as Christoph Gohlke suggests,
> Dependency Walker would tell you for certain. Dependency Walker will also
> show if other DLL files are missing.
>
> My first guess is that at least one of Pygame DLL files is missing. If you
> are using Windows 7, my second guess is that one of the the system files
> found in XP is missing in Windows 7.
>
> Lenard
>
> On 10/08/10 02:05 AM, Hokan LUNDBERG wrote:
>>
>> Is it possible to see which version of pygame is installed? (Maybe the
>> it-support-man installed pygame for Python 3 instead of Python 2.6..
>> He is not sure.)
>>
>> Lenard Lindstrom:
>>
>>>
>>> Luke, it would have to be at least Windows 2000 to run Python 2.6 ;-).
>>> Anyway, Hokan, a directory listing of the pygame package would also be
>>> helpful:
>>>
>>> dir C:/program/python26/lib/site-packages/pygame/*.pyd>listing.txt
>>> dir C:/program/python26/lib/site-packages/pygame/*.dll>>listing.txt
>>>
>>> It certainly looks like a missing dependency library.
>>>
>>>
>>
>> 2009-08-06 Â05:00 Â Â Â Â Â Â10 240 base.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â 6 656 bufferproxy.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â13 312 cdrom.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â20 992 color.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â12 800 constants.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â19 456 display.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â27 136 draw.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â17 408 event.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 9 728 fastevent.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â13 312 font.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â57 344 gfxdraw.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â19 968 image.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â10 240 imageext.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â11 264 joystick.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 6 656 key.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â26 112 mask.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â20 480 mixer.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â10 752 mixer_music.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 7 168 mouse.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â12 800 movie.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â 6 656 overlay.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â30 720 pixelarray.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â57 344 pypm.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â21 504 rect.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 7 680 rwobject.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â10 240 scrap.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â 217 088 surface.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 5 632 surflock.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 8 192 time.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â49 152 transform.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â11 264 _arraysurfarray.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â19 456 _camera.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 6 144 _numericsndarray.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â19 456 _numericsurfarray.pyd
>> Â Â Â Â Â Â Â 34 fil(er) Â Â Â Â Â Â 804 352 byte
>>
>>
>> 2009-08-06 Â05:00 Â Â Â Â Â Â10 240 base.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â 6 656 bufferproxy.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â13 312 cdrom.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â20 992 color.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â12 800 constants.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â19 456 display.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â27 136 draw.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â17 408 event.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 9 728 fastevent.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â13 312 font.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â57 344 gfxdraw.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â19 968 image.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â10 240 imageext.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â11 264 joystick.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 6 656 key.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â26 112 mask.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â20 480 mixer.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â10 752 mixer_music.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 7 168 mouse.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â12 800 movie.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â 6 656 overlay.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â30 720 pixelarray.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â57 344 pypm.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â21 504 rect.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 7 680 rwobject.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â10 240 scrap.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â 217 088 surface.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 5 632 surflock.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 8 192 time.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â49 152 transform.pyd
>> 2009-08-06 Â05:01 Â Â Â Â Â Â11 264 _arraysurfarray.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â19 456 _camera.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â 6 144 _numericsndarray.pyd
>> 2009-08-06 Â05:00 Â Â Â Â Â Â19 456 _numericsurfarray.pyd
>> Â Â Â Â Â Â Â 34 fil(er) Â Â Â Â Â Â 804 352 byte
>>
>> Thank you for the help!
>> \Hokan
>>
>
>