Hello,
I'm using pyinstaller to compile a PyQt application into a single file exe.
When I run pyinstaller through my Mac OSX 10.9 terminal I get the following
output:
4059 INFO: UPX is not available.
4082 INFO: Processing hook hook-os
4193 INFO: Processing hook hook-time
4196 INFO: Processing hook hook-cPickle
4265 INFO: Processing hook hook-_sre
4380 INFO: Processing hook hook-cStringIO
4478 INFO: Processing hook hook-encodings
4492 INFO: Processing hook hook-codecs
4959 INFO: Extending PYTHONPATH with /Users/admin/Desktop/Coding
4959 INFO: checking Analysis
4960 INFO: building Analysis because out00-Analysis.toc non existent
4960 INFO: running Analysis out00-Analysis.toc
4988 INFO: Analyzing
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/_pyi_bootstrap.py
5001 INFO: Processing hook hook-os
5017 INFO: Processing hook hook-site
5031 INFO: Processing hook hook-encodings
5132 INFO: Processing hook hook-time
5134 INFO: Processing hook hook-cPickle
5205 INFO: Processing hook hook-_sre
5326 INFO: Processing hook hook-cStringIO
5433 INFO: Processing hook hook-codecs
5830 INFO: Processing hook hook-pydoc
5956 INFO: Processing hook hook-email
6075 INFO: Processing hook hook-httplib
6108 INFO: Processing hook hook-email.message
6436 INFO: Analyzing
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/pyi_importers.py
6484 INFO: Analyzing
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/pyi_archive.py
6526 INFO: Analyzing
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/pyi_carchive.py
6572 INFO: Analyzing
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/pyi_os_path.py
6577 INFO: Analyzing start/master.py
8624 INFO: Processing hook hook-matplotlib
8805 INFO: Processing hook hook-distutils
9995 INFO: Processing hook hook-parser
10363 INFO: Processing hook hook-sysconfig
10407 INFO: Processing hook hook-xml
10434 INFO: Processing hook hook-xml.sax
10465 INFO: Processing hook hook-pyexpat
11223 INFO: Processing hook hook-setuptools
11426 INFO: Processing hook hook-xml.dom
11434 INFO: Processing hook hook-xml.dom.domreg
12599 INFO: Processing hook hook-PyQt4
12600 INFO: Processing hook hook-PyQt4.QtGui
29273 INFO: Processing hook hook-matplotlib.backends
30194 INFO: Processing hook hook-PyQt4.QtCore
30496 INFO: Processing hook hook-_tkinter
30527 INFO: checking Tree
30528 INFO: building because out00-Tree.toc missing or bad
30528 INFO: building Tree out00-Tree.toc
30664 INFO: checking Tree
30664 INFO: building because out01-Tree.toc missing or bad
30664 INFO: building Tree out01-Tree.toc
31817 INFO: Hidden import 'codecs' has been found otherwise
31817 INFO: Hidden import 'encodings' has been found otherwise
31817 INFO: Looking for run-time hooks
31820 INFO: Analyzing rthook
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/rthooks/pyi_rth_qt4plugins.py
31884 INFO: Analyzing rthook
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/rthooks/pyi_rth_Tkinter.py
31923 INFO: Analyzing rthook
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/rthooks/pyi_rth_mplconfig.py
31961 INFO: Analyzing rthook
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/rthooks/pyi_rth_mpldata.py
31996 INFO: Analyzing rthook
/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/loader/rthooks/pyi_rth_pkgres.py
33964 INFO: Using Python library
/Users/admin/Desktop/Coding/forestpy/ve/bin/../.Python
36170 INFO: Warnings written to
/Users/admin/Desktop/Coding/forestpy/build/master/warnmaster.txt
36208 INFO: checking PYZ
36209 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing
36209 INFO: building PYZ (ZlibArchive) out00-PYZ.toc
46792 INFO: checking PKG
46792 INFO: rebuilding out00-PKG.toc because out00-PKG.pkg is missing
46792 INFO: building PKG (CArchive) out00-PKG.pkg
46920 INFO: checking EXE
46921 INFO: rebuilding out00-EXE.toc because master missing
46921 INFO: building EXE from out00-EXE.toc
Traceback (most recent call last):
File "ve/bin/pyinstaller", line 9, in <module>
load_entry_point('PyInstaller==2.1', 'console_scripts', 'pyinstaller')()
File
"/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/main.py",
line 88, in run
run_build(opts, spec_file, pyi_config)
File
"/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/main.py",
line 46, in run_build
PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
File
"/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/build.py",
line 1924, in main
build(specfile, kw.get('distpath'), kw.get('workpath'),
kw.get('clean_build'))
File
"/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/build.py",
line 1873, in build
execfile(spec)
File "/Users/admin/Desktop/Coding/forestpy/master.spec", line 15, in
<module>
console=True )
File
"/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/build.py",
line 1173, in __init__
self.__postinit__()
File
"/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/build.py",
line 309, in __postinit__
self.assemble()
File
"/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/build.py",
line 1283, in assemble
exe = checkCache(exe, strip=self.strip, upx=self.upx)
File
"/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/build.py",
line 836, in checkCache
cache_index = _load_data(cacheindexfn)
File
"/Users/admin/Desktop/Coding/forestpy/ve/lib/python2.7/site-packages/PyInstaller/build.py",
line 79, in _load_data
return eval(open(filename, 'rU').read())
File "<string>", line 0
^
SyntaxError: unexpected EOF while parsing
I've found this question:
https://groups.google.com/forum/#!msg/pyinstaller/s87RTWFEWQQ/JJLfX-prW0kJ,
but I think it refers to a specific bug in windows systems.
I get a similar error if I try to compile with the --noconsole flag.
Any tips?
Cheers,
Andrew
--
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.