Hi Hokan and Luke,
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.
Lenard Lindstrom
On 09/08/10 08:43 AM, Luke Paireepinart wrote:
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<[email protected]> 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