В чём может быть причина?
Версия pygame 2.0.1
Спасибо.
Ошибка:
D:\python\Adapted-game-snake>python3 main.py
pygame 2.0.1 (SDL 2.0.14, Python 3.9.7)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "D:\python\Adapted-game-snake\main.py", line 1, in
from game import *
File "D:\python\Adapted-game-snake\game.py", line 1, in
from snake import *
File "D:\python\Adapted-game-snake\snake.py", line 1, in
from animations import *
File "D:\python\Adapted-game-snake\animations.py", line 1, in
from config import *
File "D:\python\Adapted-game-snake\config.py", line 90, in
bgs = (AudioPlayer("menubg", "bg"),
File "D:\python\Adapted-game-snake\config.py", line 67, in init
self.music = pygame.mixer.Sound(os.path.join('audio', id_in + '.ogg'))
pygame.error: Unable to open file 'audio\menubg.ogg'