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

Re: [pygame] ImportError: DLL load failed



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