I had no problem installing and using PyInstaller on Fedora 7 and 9
with python 2.5
Now I'm using Fedora 11 and python 2.6 and I'm not more able to
install it, because I get a traceback on running Configure.py
I unpacked pyinstaller_1.3.tar.gz
I run:
python Make.py
make
When I run:
python Configure.py
I get::
I: computing EXE_dependencies
E: cannot find linux-vdso.so.1 in path (needed by /usr/bin/python)
E: cannot find linux-vdso.so.1 in path (needed by
/usr/lib64/libpython2.6.so.1.0)
E: cannot find linux-vdso.so.1 in path (needed by
/lib64/libpthread.so.0)
E: cannot find linux-vdso.so.1 in path (needed by /lib64/libdl.so.2)
E: cannot find linux-vdso.so.1 in path (needed by
/lib64/libutil.so.1)
E: cannot find linux-vdso.so.1 in path (needed by /lib64/libm.so.6)
E: cannot find linux-vdso.so.1 in path (needed by /lib64/libc.so.6)
I: Finding TCL/TK...
Syntax error in /hd/X/py11/pyinstaller-1.3/optparse.py
('invalid syntax', ('/hd/X/py11/pyinstaller-1.3/optparse.py', 6, 257,
'"""\r\noptparse -- forward-compatibility wrapper for use with Python
2.2.x and\r\nearlier. If you import from \'optparse\' rather than
\'optik\', your code\r\nwill work on base Python 2.3 (and later), or
on earlier Pythons with\r\nOptik 1.4.1 or later
installed.\r\n"""\r\n'))
Traceback (most recent call last):
File "Configure.py", line 78, in <module>
a.analyze_r('Tkinter')
File "/hd/X/py11/pyinstaller-1.3/mf.py", line 299, in analyze_r
newnms = self.analyze_one(name, nm, imptyp)
File "/hd/X/py11/pyinstaller-1.3/mf.py", line 333, in analyze_one
mod = self.doimport(nm, ctx, fqname)
File "/hd/X/py11/pyinstaller-1.3/mf.py", line 400, in doimport
mod = director.getmod(nm)
File "/hd/X/py11/pyinstaller-1.3/mf.py", line 216, in getmod
mod = owner.getmod(nm)
File "/hd/X/py11/pyinstaller-1.3/mf.py", line 71, in getmod
co = compile(open(py[0], 'r').read()+'\n', py[0], 'exec')
File "/hd/X/py11/pyinstaller-1.3/optparse.py", line 6
"""
^
SyntaxError: invalid syntax
Whats the problem??
Licia
As stated in the homepage from PyInstaller website, version 1.3 is outdated.
Please consider installing from the SVN trunk:
svn co http://svn.pyinstaller.org/trunk pyinstaller
Cheers
M.