music = pygame.mixer.music.load("music.mp3")
pygame.mixer.music.play(loops=-1)
这是我运行此代码时的错误:
Traceback (most recent call last):
File "C:/Users/python/PycharmProjects/untitled1/test.py", line 6, in <module>
music = pygame.mixer.music.load("music.mp3")
pygame.error: Failed loading libmpg123.dll: Attempt to access invalid address.
我尝试重新启动系统和IDE,但均无法正常工作。