I'm running pyinstaller from cmd to create an exe from a script I wrote in a Pycharm Venv.
I'm using the line:
pyinstaller--onefile main.py
When trying to run my exe I get this error:
File "main.py, line 2, in <module>
from playsound import playsound
ModuleNotFoundError: No module named 'playsound'
[5624] Failed to execute main
Things I've tried:
--hidden-import "playsound"
--hidden-import playsound
Dragging the exe out of dist and running it in the mainfile
attempted to create a hook but I don't really understand what to put in the hook script for playsound?
Deleted the other interpreter so there's only one
installed pyinstaller in the Venv itself