py2exe 0.6.8 released

Robert rw.segaar at xs4all.nl
Mon Jun 16 15:10:58 EDT 2008


Being new on on Python (but otherwise experienced programmer this message 
triggered me to do the install.
It looks like a nice way to do a comprehensive check of your system.

When running one of the py2exe samples, located in 
C:\Python25\Lib\site-packages\py2exe\samples\singlefile\gui I got the 
following error when running the resulting executable:

C:\Python25\Lib\site-packages\py2exe\samples\singlefile\gui\dist\test_wx.exe\zipextimporter.py:82: 
DeprecationWarning: The wxPython compatibility package is no longer 
automatically generated or actively maintained.  Please switch to the wx 
package as soon as possible.
Traceback (most recent call last):
  File "test_wx.py", line 1, in <module>
  File "zipextimporter.pyo", line 82, in load_module
  File "wxPython\__init__.pyo", line 15, in <module>
  File "zipextimporter.pyo", line 82, in load_module
  File "wxPython\_wx.pyo", line 8, in <module>
  File "zipextimporter.pyo", line 82, in load_module
  File "wxPython\_misc.pyo", line 456, in <module>
AttributeError: 'module' object has no attribute 
'DateTime_GetNumberOfDaysinYear'

I know of course the real error must be on the wx part of it all.

I only have:
- a python 2.5.2 install(msi)
- a "wxPython2.8-win32-unicode-2.8.7.1-py25.exe" install
- a "py2exe-0.6.8.win32-py2.5.exe"install.

I have deleted C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wxPython 
because there indications that this is not needed, but other problems 
emerged.

Any clues how to proceed next?

Robert





More information about the Python-list mailing list