Hello,
I've downloaded the latest stable release, pyinstaller-1.3, and have
run into an error when I invoke the `python Configure.py` command. If
I'm reading the traceback (copied below) correctly, it looks like it's
trying to support an older version of Python with optparse.py. The
Python I'm using is 2.6 and I've confirmed that that version is being
called when I issue the command.
Suggestions?
I'm on OSX v10.5.8.
Thanks!
Scott
I: computing EXE_dependencies
sh: ldd: command not found
I: Finding TCL/TK...
Syntax error in /opt/local/src/pyinstaller-1.3/optparse.py
('invalid syntax', ('/opt/local/src/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 "/opt/local/src/pyinstaller-1.3/mf.py", line 299, in analyze_r
newnms = self.analyze_one(name, nm, imptyp)
File "/opt/local/src/pyinstaller-1.3/mf.py", line 333, in
analyze_one
mod = self.doimport(nm, ctx, fqname)
File "/opt/local/src/pyinstaller-1.3/mf.py", line 400, in doimport
mod = director.getmod(nm)
File "/opt/local/src/pyinstaller-1.3/mf.py", line 216, in getmod
mod = owner.getmod(nm)
File "/opt/local/src/pyinstaller-1.3/mf.py", line 71, in getmod
co = compile(open(py[0], 'r').read()+'\n', py[0], 'exec')
File "/opt/local/src/pyinstaller-1.3/optparse.py", line 6
"""
^
SyntaxError: invalid syntax
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---