Не работает появляется такая ошибкаTraceback (most recent call last):
File "C:\Users\Station\PycharmProjects\pythonProject1\main.py", line 3, in
song = pyglet.media.load(r"C:\Users\Station\Music\padenie-truby.mp3")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Station\PycharmProjects\pythonProject1\.venv\Lib\site-packages\pyglet\media\__init__.py", line 85, in load
return _codec_registry.decode(filename, file, streaming=streaming)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Station\PycharmProjects\pythonProject1\.venv\Lib\site-packages\pyglet\util.py", line 175, in decode
return decoder.decode(filename, file, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Station\PycharmProjects\pythonProject1\.venv\Lib\site-packages\pyglet\media\codecs\wave.py", line 69, in decode
return WaveSource(filename, file)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Station\PycharmProjects\pythonProject1\.venv\Lib\site-packages\pyglet\media\codecs\wave.py", line 22, in __init__
self._wave = wave.open(file)
^^^^^^^^^^^^^^^
File "C:\Users\Station\AppData\Local\Programs\Python\Python312\Lib\wave.py", line 649, in open
return Wave_read(f)
^^^^^^^^^^^^
File "C:\Users\Station\AppData\Local\Programs\Python\Python312\Lib\wave.py", line 286, in __init__
self.initfp(f)
File "C:\Users\Station\AppData\Local\Programs\Python\Python312\Lib\wave.py", line 251, in initfp
self._file = _Chunk(file, bigendian = 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Station\AppData\Local\Programs\Python\Python312\Lib\wave.py", line 117, in __init__
raise EOFError
EOFError