Hi,

I'm a newbie in using Python in the Mac, and I am having some troubles with Pygame. I am running Python 2.4.3 on a MacBook Pro, and I have installed pygame-1.8.0pre-py2.4. Nevertheless, at the time of running the examples that are bundled with Pygame, they don't run. These are two examples of crash reports:
- Trying to run the bundled testsprite.py:
2007-03-02 15:02:43.326 Python[690] Can't open input server /Library/ InputManagers/Smart Crash Reports.bundle
Traceback (most recent call last):
File "/Developer/Python/pygame/Examples/testsprite.py", line 167, in ?
    main()
File "/Developer/Python/pygame/Examples/testsprite.py", line 102, in main sprite_surface = pygame.image.load(os.path.join("data", "asprite.bmp"))
pygame.error: Couldn't open data/asprite.bmp

- And trying to run sound.py:
Traceback (most recent call last):
  File "/Developer/Python/pygame/Examples/sound.py", line 20, in ?
    sound = mixer.Sound(file)
pygame.error: Mix_LoadWAV_RW with NULL src

I guess there is a problem with the path, but I am not sure - any help is welcome (and the more detailed the explanation, the better - I really want to learn to set up and use python and pygame in my mac).

Thanks a bunch!

Mundial82
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to