From: Cédrick F. <ced...@fr...> - 2009-04-24 15:47:25
|
"packages" option doesn't work , neither "includes" or lots or others options ... I wrote the "program" with the single line : from scipy import factorial and make a package with : from distutils.core import setup import py2exe setup( windows=[{"script" :"testscipy2exe.py",}]) and when I fire up testscipy2exe.exe, the result is : Traceback (most recent call last): File "testscipy2exe.py", line 4, in <module> ImportError: cannot import name factorial Of course, I tried to buid it with a lot of options like "packages", "includes", excludes", "compressed", "optimize", ... and it's alway the same. Is there a bug somewhere ?? However, my program doesn't use "factorial", and I "solved" temporarily the problem by removing the line "from scipy import factorial" from polyint.py, in the "interpolate" folder of scipy. I have : python 2.5.4 numpy 1.3.0 scipy 0.7.0 Thanks by advance for the help ! |