ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> py2exe-users
py2exe-users
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved