Ok, pyinstaller fails to find libpython. Is that file present on your
system? Did you compile Python with the --enable-shared option?
Regards,
Florian
Marcin Krol schrieb:
> Hello everyone,
>
> I have checked (on latest pyinstaller from svn) that "hello world"
> program consisting just of print "Hello, world" can't be frozen using
> pyinstaller:
>
> [r...@nc044105 pyinstaller]# ./hello.py
> Hello world!
>
> [r...@nc044105 pyinstaller]# python Makespec.py hello.py
> wrote /root/pyinstaller/hello/hello.spec
> now run Build.py to build the executable
>
> [r...@nc044105 pyinstaller]# python Build.py hello/hello.spec
> checking Analysis
> building Analysis because outAnalysis0.toc non existent
> running Analysis outAnalysis0.toc
> Analyzing: support/_mountzlib.py
> Analyzing: support/useUnicode.py
> Analyzing: hello.py
> Traceback (most recent call last):
> File "Build.py", line 1158, in <module>
> main(args[0], configfilename=opts.configfile)
> File "Build.py", line 1146, in main
> build(specfile)
> File "Build.py", line 1109, in build
> execfile(spec)
> File "hello/hello.spec", line 3, in <module>
> pathex=['/root/pyinstaller'])
> File "Build.py", line 245, in __init__
> self.__postinit__()
> File "Build.py", line 196, in __postinit__
> self.assemble()
> File "Build.py", line 348, in assemble
> self.fixMissingPythonLib(binaries)
> File "Build.py", line 394, in fixMissingPythonLib
> raise IOError("Python library not found!")
> IOError: Python library not found!
>
> About the only things I can think of is that my python (2.6.2) is
> compiled from source and it is available at /usr/local/bin/python.
>
> Help!
>
> Regards,
> mk
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---