I am trying to run the simple code, to play the wav sound with playsound (I found this way of sound playing on some website):
from playsound import playsound
playsound("Piano.wav")
and when I run it, I get error:
Traceback (most recent call last):
File "C:/Users/user/AppData/Local/Programs/Python/Python38/ьгышсф.py", line 3, in <module>
playsound("Piano.wav")
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\playsound.py", line 35, in _playsoundWin
winCommand('open "' + sound + '" alias', alias)
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\playsound.py", line 30, in winCommand
'\n ' + errorBuffer.value.decode())
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 0: invalid continuation byte
Same for mp3 files. And I am using Python 3.8