[Py2exe-users] Error with Python 2.5
by Sebastien Ramage other posts by this author
Sep 20 2006 2:06AM messages near this date
Re: [Py2exe-users] catia typelib problem
|
Re: [Py2exe-users] Error with Python 2.5
Hello
I've yet install python 2.5 and py2exe for python 2.5 and I have a problem.
I try to create an exe using the sample test_wx.py and I get this backtrace
:
Traceback (most recent call last):
File
"C:\Python25\Lib\site-packages\py2exe\samples\singlefile\gui\setup.py", line
78, in <module>
windows = [test_wx],
File "C:\Python25\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
self.run_command(cmd)
File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
cmd_obj.run()
File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 218, in run
self._run()
File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 285, in
_run
self.create_binaries(py_files, extensions, dlls)
File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 547, in
create_binaries
arcname, target.script)
File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 794, in
build_executable
zlib_bytes = imp.find_module("zlib")[0].read()
AttributeError: 'NoneType' object has no attribute 'read'
maybe the problem come because "The zlib module is now builtin on Windows"
but I don't know how to correct this.
Seb
Thread:
Sebastien Ramage
Carlos Eduardo
|