Tuesday, 15 March 2011

python - py2exe or pyinstaller fail to include jaraco.util -



python - py2exe or pyinstaller fail to include jaraco.util -

i have little python script irc needs jaraco.util function. requirement release binary on windows i've tried py2exe , pyinstaller.

i using winpython-64bit-2.7.6.4

i have experience py2exe previous projects, tried 'includes' alternative without success. error pretty much standard:

importerror: no module named jaraco

or jaraco.util etc. if seek include via setup.py py2exe build.

'includes': [ 'jaraco.util', 'irc', 'configparser', ],

normally should auto-detect dependencies if leave without include build exe fail execute similar error:

traceback (most recent phone call last) file "irc\client.pyc", line 67, in <module> importerror: no module named jaraco.util.itertools

in winpython site-packages have:

jaraco jaraco.timing-1.0-py2.7-nspkg.pth jaraco.timing-1.0-py2.7.egg-info jaraco.util-10.6-py2.7-nspkg.pth jaraco.util-10.6-py2.7.egg-info

i tried reinstall jaraco.util , re-create manually after build still not work.

i've searched on-line solution @ to the lowest degree couple of hours no avail. i'm trying here maybe guys have run similar issues (or maybe i'm doing wrong...)

thank you

i think problem jaraco installed via easy_install jaraco.util, creating python eggs, aren't supported py2exe, detailed faq.

try specifying flag --always-unzip alternative easy_install.

python py2exe importerror pyinstaller

No comments:

Post a Comment