Freeze with 2.2
Neal and Monica Josephson
nmjoseph at earthlink.com
Wed Jan 9 22:09:10 EST 2002
I'm trying to build a standalone python program. I've tried Freeze as well
as the standalone/simple scripts and they all seem to error in the same way.
I'm using Python 2.2 on Win2K.
The error looks like:
C:\installer>python freeze.py c:\myproject\boot.py
> "C:\Program Files\Python\python.exe" C:\installer\Builder.py boot.cfg
Cannot determine your Windows or System directories
Please add them to your PATH if .dlls are not found
The win32api module is not available - modules listed
in the registry will not be found.
opts: []
args: ['boot.cfg']
Initializing
Traceback (most recent call last):
File "C:\installer\Builder.py", line 502, in ?
main(opts, args)
File "C:\installer\Builder.py", line 473, in main
target = makeTarget(cfg, section)
File "C:\installer\Builder.py", line 416, in makeTarget
return dispatch[cfg.get(section, 'type')](cfg, section, optcnvrts)
File "C:\installer\Builder.py", line 281, in __init__
ArchiveTarget.__init__(self, cfg, sectnm, cnvrts)
File "C:\installer\Builder.py", line 245, in __init__
CollectTarget.__init__(self, cfg, sectnm, cnvrts)
File "C:\installer\Builder.py", line 144, in __init__
Target.__init__(self, cfg, sectnm, cnvrts)
File "C:\installer\Builder.py", line 34, in __init__
print "Initializing", self.__name__
AttributeError: FullExeTarget instance has no attribute '__name__'
More information about the Python-list
mailing list