I created a .exe from my code with pyinstaller. To do so, I simply opened cmd, cd'ed the location of the .py file, then typed "pyinstaller name.py". However, when I run the .exe it creates, it simply flashes a terminal window and then closes. The installer gave no warnings that I'm aware of. When running the .exe with CMD, it tells me "ModuleNotFoundError: No module named 'pydub'", so that might be where I need to start. How do I make sure the module "pydub" is included in the .exe package?
Below is what cmd prints when trying to open the .exe.
Traceback (most recent call last):
File "MP3Shredder.py", line 1, in <module>
ModuleNotFoundError: No module named 'pydub'
[5008] Failed to execute script 'MP3Shredder' due to unhandled exception!