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

Re: [pygame] ImportError: DLL load failed



Sounds like you don't have SDL or possibly the permissions were wrong. Would help to know what OS, how it was installed, etc.

Sent from my iPhone

On Aug 9, 2010, at 10:07 AM, Hokan LUNDBERG <hokan@xxxxxxxx> wrote:

> Hi!
> 
> Next week I will start teaching Python and Pygame in a school. The
> it-support-man has installed Python 2.6, EasyGUI and Pygame 1.9.1.
> EasyGUI works fine, but when I try to run a program with Pygame in the
> school I get this error message:
> 
> C:/Program/Python26/pythonw.exe -u  "h:/pygame_proj/test/src/enkel_pong.py"
> Traceback (most recent call last):
>  File "h:/pygame_proj/test/src/enkel_pong.py", line 4, in <module>
>    import pygame, random
>  File "C:\Program\Python26\lib\site-packages\pygame\__init__.py",
> line 95, in <module>
>    from pygame.base import *
> ImportError: DLL load failed: Det gÃr inte att hitta den angivna modulen.
> 
> -----------
> 
> Do you understand why?
> 
> \H