Now, after the compile...
python Makespec.py --onefile ../blah.py
python Build.py blah/blah.spec
the build fails to run:
./blah
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 3, in __bootstrap__
File "/home/vboulytchev/projects/icinga/pyinstaller-1.5.1/iu.py", line
455, in importHook
raise ImportError, "No module named %s" % fqname
ImportError: No module named pkg_resources
Thanks!
On Wed, Sep 21, 2011 at 3:49 PM, Vasiliy Boulytchev <[email protected]>wrote:
> That fixed it! What was the problem!?
>
> Thanks!
>
>
> On Wed, Sep 21, 2011 at 3:46 PM, Martin Zibricky <[email protected]>wrote:
>
>> Vasiliy Boulytchev píše v St 21. 09. 2011 v 15:27 -0400:
>> > Martin, Code works in the python interpreter just fine. Actually
>> > compiling on other platforms pyinstaller does fine. Just on
>> > centos/rhel 5.4 it bombs out :)
>>
>> Could you try add the following line at the top of file ./bindepend.py
>> to other imports?
>>
>> import zipfile
>>
>> --
>> 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
>
>
--
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.