Using PyInstaller I created a executable from a python script as follows:
pyinstaller --onefile pythonScriptName.py
However, when I run the executable I get an error ImportError: No module named 'MyModule'
.
'MyModule' is a placeholder name for a custom module I use in the script. So I'm assuming that PyInstaller didn't package up the custom modules. Is there some way to get it to do that?