PyInstaller, spec file, ImportError: No module named 'blah'
I am trying to build a python script via PyInstaller . I have used the following commands to configure, generate a spec file, and build: wget pyinstaller.zip, extracted it, python Configure.py, etc, then: python pyinstaller/Makespec.py --onefile myscript.py python pyinstaller/Build.py myscript.spec Here is the spec file it generated: # -*- mode: python -*- a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), 'icinga.py'], pathex=['/home/user/projects/icinga_python/releases/v2.1']) pyz = PYZ(a.pure) exe = EXE( pyz, a.scripts, a.binaries,