I faced this problem too firstly as mentioned in the previous comments I downgraded my python version from 3.10 to 3.7 and yet the problem persisted.
So what actually worked is that the recent versions of playsound are giving such errors in order to fix this run the following commands in cmd as admin
pip uninstall playsound
pip install playsound==1.2.2
and this should do the work.
just in case that doesn’t work try degrading your python version to 3.7 and run these commands and that should be good.