I'm working on a redistributable project which can make myApp.exe files
from a myApp.py.
I can make the myApp.exe file from a Python program on my dev system. The
next step is to build myRedistributable.exe which can do the same thing on
any other Windows box. To do this, myRedistributable.exe will have to
contain all the file which pyInstaller needs.
So, here is my script to create myRedistributable.exe:
if __name__ == '__main__':
from PyInstaller.main import run
opts=['makeMyAppExe.py', '--clean', '-F', '-w', '--noupx',
'--icon=LauncherIcon.ico',
'--name=myRedistributable']
run(opts)
Here are the error messages:
36 INFO: wrote C:\Users\George\Documents\My
Dropbox\AppStudio\testexebuild\myApp.spec
80 INFO: Testing for ability to set icons, version resources...
89 ERROR: ... resource update unavailable -
C:\Users\George\AppData\Local\Temp\_MEI41562\PyInstaller\bootloader\Windows-32bit\runw.exe
not found
89 INFO: An exception occured when testing for UPX:
89 INFO: WindowsError(6, 'The handle is invalid')
90 INFO: UPX is not available.
Traceback (most recent call last):
File "<string>", line 4, in <module>
File "C:\Users\George\Documents\My
Dropbox\AppStudio\testexebuild\build\myRedistributable\out00-PYZ.pyz\PyInstaller.main",
line 88, in run
File "C:\Users\George\Documents\My
Dropbox\AppStudio\testexebuild\build\myRedistributable\out00-PYZ.pyz\PyInstaller.main",
line 46, in run_build
File "C:\Users\George\Documents\My
Dropbox\AppStudio\testexebuild\build\myRedistributable\out00-PYZ.pyz\PyInstaller.build",
line 1911, in main
File "C:\Users\George\Documents\My
Dropbox\AppStudio\testexebuild\build\myRedistributable\out00-PYZ.pyz\PyInstaller.configure",
line 146, in get_config
File "C:\Users\George\Documents\My
Dropbox\AppStudio\testexebuild\build\myRedistributable\out00-PYZ.pyz\PyInstaller.configure",
line 117, in find_PYZ_dependencies
KeyError: 'pyi_importers'
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.