Hello,

I run into another problem with pygame. I'm trying to make a sharable
application by using py2app.

But when I open the application, I assume that I don't have the right
version on the mixer? Thank you so much for your help

ps: I'm on Mac os Mojave 10.14.6, pygame 2.0.0.dev6 (SDL 2.0.12, python
3.8.2)

/Users/liew/dist/gametest.app/Contents/Resources/gametest.py:19:
RuntimeWarning: use mixer:
dlopen(/Users/liew/dist/gametest.app/Contents/Resources/lib/python3.8/lib-dynload/pygame/mixer.so,
2): Library not loaded: @loader_path/.dylibs/libSDL2_mixer-2.0.0.dylib
Referenced from:
/Users/liew/dist/gametest.app/Contents/Resources/lib/python3.8/lib-dynload/pygame/mixer.so
Reason: image not found (ImportError:
dlopen(/Users/liew/dist/gametest.app/Contents/Resources/lib/python3.8/lib-dynload/pygame/mixer.so,
2): Library not loaded: @loader_path/.dylibs/libSDL2_mixer-2.0.0.dylib
Referenced from:
/Users/liew/dist/gametest.app/Contents/Resources/lib/python3.8/lib-dynload/pygame/mixer.so
Reason: image not found) Traceback (most recent call last): File
"/Users/liew/dist/gametest.app/Contents/Resources/*boot*.py", line 420, in
_run() File "/Users/liew/dist/gametest.app/Contents/Resources/*boot*.py",
line 394, in _run exec(compile(source, path, "exec"), globals(), globals())
File "/Users/liew/dist/gametest.app/Contents/Resources/gametest.py", line
19, in mixer.music.load("background.wav") File "pygame/*init*.pyc", line
59, in *getattr* NotImplementedError: mixer module not available
(ImportError:
dlopen(/Users/liew/dist/gametest.app/Contents/Resources/lib/python3.8/lib-dynload/pygame/mixer.so,
2): Library not loaded: @loader_path/.dylibs/libSDL2_mixer-2.0.0.dylib
Referenced from:
/Users/liew/dist/gametest.app/Contents/Resources/lib/python3.8/lib-dynload/pygame/mixer.so
Reason: image not found) 2020-05-19 23:16:53.805 gametest[26984:1695513]
gametest Error logout Saving session... ...copying shared history...
...saving history...truncating history files... ...completed.

-- 
Bests,
Liew

Reply via email to