Here is my full code:
And the error occurs with a music player called player
:
Traceback (most recent call last):
File "test.py", line 915, in <module>
player.eos_action = player.EOS_LOOP
AttributeError: 'Player' object has no attribute 'EOS_LOOP'
I can confirm that all of the sound files are in the directory and I have installed pyglet with pip3, pygame, etc.
My game was working months ago but now that I'm coming back to it it is not working all of a sudden.
The offending piece of code is only the player initialization and the EOS_LOOP part, since I tried only doing that in python3 in the terminal and it wouldn't work even with pyglet imported.