I am trying to make a small program for a friend and it needs to run a .wav file it works fine when i run it in python but when i compile it in py2exe it gives me this -->
phone.exe:23: RuntimeWarning: use mixer: DLL load failed: The specified module could not be found.
(ImportError: DLL load failed: The specified module could not be found.)
Traceback (most recent call last):
File "phone.py", line 23, in <module>
File "pygame\__init__.pyc", line 70, in __getattr__
NotImplementedError: mixer module not available
pygame.mixer
is dependent on libSDL_mixer. Make sure that it is available.
这可能会有所帮助:py2exe示例项目: http ://www.pygame.org/wiki/Pygame2exe
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.