Martin,
After adding the 'import pkg_resources' to the source,
I see the following pyinstaller finishes running.
Thanks for all your help!!!
Traceback (most recent call last):
File "<string>", line 12, in ?
File "/home/vboulytchev/projects/icinga/pyinstaller-1.5.1/iu.py", line
436, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/vboulytchev/projects/icinga/pyinstaller-1.5.1/iu.py", line
521, in doimport
exec co in mod.__dict__
File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 19, in ?
File "/home/vboulytchev/projects/icinga/pyinstaller-1.5.1/iu.py", line
436, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/vboulytchev/projects/icinga/pyinstaller-1.5.1/iu.py", line
521, in doimport
exec co in mod.__dict__
File "build/bdist.linux-x86_64/egg/_mysql.py", line 7, in ?
File "build/bdist.linux-x86_64/egg/_mysql.py", line 4, in __bootstrap__
File "icinga/build/pyi.linux2/icinga/outPYZ1.pyz/pkg_resources", line 799,
in resource_filename
File "icinga/build/pyi.linux2/icinga/outPYZ1.pyz/pkg_resources", line
1229, in get_resource_filename
File "icinga/build/pyi.linux2/icinga/outPYZ1.pyz/pkg_resources", line
1240, in _extract_resource
KeyError: '_mysql/_mysql.so'
On Wed, Sep 21, 2011 at 4:48 PM, Martin Zibricky <[email protected]>wrote:
> Vasiliy Boulytchev píše v St 21. 09. 2011 v 15:54 -0400:
> > Now, after the compile...
> >
> > python Makespec.py --onefile ../blah.py python Build.py
> > blah/blah.spec
> >
> > the build fails to run:
>
> You could try to explicitly import pkg_resources in your code if it
> would be then included by pyinstaller.
>
> Then look at bug report
>
> http://www.pyinstaller.org/ticket/183
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "PyInstaller" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pyinstaller?hl=en.
>
>
--
Vasiliy Boulytchev
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.