[SciPy-user] Import problem when using py2exe and scipy.

Armando Serrano Lombillo arserlom@gmail....
Tue May 26 11:35:58 CDT 2009

Hello list. I've run into a problem when packaging a program that uses scipy
with py2exe. When the program tries to "from scipy import interpolate" I get
an "ImportError: cannot import name factorial" coming from line 2 in
scipy\interpolate\polyint.py. This problem doesn't pop when I run the
program normally (that is, before packing it with py2exe). As a workaround,
I can either go back to using scipy 0.6 or comment out line 2 in
scipy\interpolate\polyint.py. I'm not the only one with this problem, as you
can see here: http://article.gmane.org/gmane.comp.python.py2exe/3324
I'm using python 2.5.4 on Windows XP.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20090526/12308529/attachment.html 

More information about the SciPy-user mailing list