python playsound "The specified device is not open or is not recognized by MCI"

Viewed 320

I included a sound file in the same folder as my jupyter notebook file and the file cant be read

from playsound import playsound
file = "SoundHelix-Song-1.mp3"
playsound(file)

It then gave me this error message

PlaysoundException: 
Error 263 for command:
        open SoundHelix-Song-1.mp3
    The specified device is not open or is not recognized by MCI.
0 Answers
Related