http://anonymousoverflow.catsarch.i2p/questions/76078698/how-to-fix-oserror-could-not-get-source-code-error-when-installing-playsound
Step 1: pip install - - upgrade setuptools Step 2: After upgrading setuptools, try installing the playsound module again pip install playsound Step 3: Make sure you are using Python 3.x pip install playsound -- no - cache - dir Step 4: pip install playsound -- only - binary playsound Answered Jan 18, 2024 at 0:25 by Md.Rakibuz Sultan 1 Votes playsound 1.3.0 does not currently have a whl, and the sdist version (.tar.gz) has a bug when installed with pip.