[SciPy-user] import scipy - py2exe

William Purcell williamhpurcell@gmail....
Thu Jun 26 07:28:59 CDT 2008

Sorry for posting in two places for those of you on the py2exe list. The
py2exe list doesn't seem to be as active as this one.

After compiling a small wx gui with py2exe, the following is the traceback I
get when running the resulting .exe.

Traceback (most recent call last):
  File "simple.py", line 2, in <module>
  File "zipextimporter.pyo", line 82, in load_module
  File "scipy\__init__.pyo", line 48, in <module>
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

operating sys.           --> XP
scipy.__version__      --> 0.6.0
wx.__version__         -->
py2exe.__version__   --> 0.6.8

The gui script is simple....

import wx, scipy
app = wx.App()
frame = wx.Frame(None, -1, 'simple.py')

... and runs fine from the command line. I was having this problem with a
larger gui and I think I have narrowed the problem down to this.

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080626/c11d6b8c/attachment.html 

More information about the SciPy-user mailing list