freeze.py error?

Brian Lee senux at senux.com.NOSPAM
Mon Jun 18 00:58:05 EDT 2001


On Python 2.1 I want to ``freeze'' a application with wxPython
and xmlwpclib. Error occours like this. Distutils is version 1.0.2.
Any ideas?
- Brian,.

PS) I completed to make C code from sample code, hello.py and it works
well. But my only application do not work with freeze.py

$ python freeze.py -o dir mydomainclient-0.1.0.py
Traceback (most recent call last):
File "freeze.py", line 465, in ?
main()
File "freeze.py", line 344, in main
mf.run_script(scriptfile)
File "modulefinder.py", line 90, in run_script
self.load_module('__main__', fp, pathname, stuff)
File "modulefinder.py", line 259, in load_module
self.scan_code(co, m)
File "modulefinder.py", line 279, in scan_code
self.import_hook(name, m)
File "modulefinder.py", line 102, in import_hook
q, tail = self.find_head_package(parent, name)
File "modulefinder.py", line 143, in find_head_package
q = self.import_module(head, qname, parent)
File "modulefinder.py", line 229, in import_module
m = self.load_module(fqname, fp, pathname, stuff)
File "modulefinder.py", line 244, in load_module
co = compile(fp.read()+'\n', pathname, 'exec')
File "<string>", line 65

^
SyntaxError: invalid syntax




More information about the Python-list mailing list