I am trying to run my Python code in raspberry Pi 3 and I keep getting the error: ImportError: no module named playsound. I have already successfully installed playsound (using the command: pip install playsound).
In my case, one module worked with pip3 install pygame but not playsound. I snooped through python files to see the difference between pygame and playsound. I found out that playsound was not in its folder: C:\Users\USER\AppData\Local\Programs\Python\Python39\Lib\site-packages.
So I moved it to C:\Users\USER\AppData\Local\Programs\Python\Python39\Lib\site-packages\playsound-1.2.2.dist-info
But remember to put it back after compiling it so you can use the module. Somehow it worked for me.
ImportError: no module named playsound