# After using pyinstaller, program cannot find an imported module # Just replace "module_named" with your missing module: pyinstaller --hidden-import module_named ... file.py