I had the same problem. There's a PR that solves the problem, waiting to be merged for 2 years already. The "playsound" in not maintained anymore. Switch to playsound3: https://pypi.org/project/playsound3/