![](/img/trans.png)
[英]Pyglet can read mp3 files in a Python Mac application (.app) created with PyInstaller, but only when I run the application from the command line
我正在使用依賴於pyglet版本 1.5.27 的Python 3.10.8( Miniconda發行版)創建一個程序。 我的程序的一個功能涉及使用此 function 將音頻文件加載到pyglet中:pyglet.media.load("{path_to_audio_file}") 最近,我使用 ...