I resolved the problem by commenting out two lines in my setup.py
#"optimize":1,
#"bundle_files": 2,
The defmatrix lib was inside \lib\library.zip. However, the program.exe could
not find it.
Cheers
--- On Sun, 1/16/11, zb <[email protected]> wrote:
> From: zb <[email protected]>
> Subject: [Numpy-discussion] defmatrix 1.3 versus 1.5
> To: [email protected]
> Date: Sunday, January 16, 2011, 1:50 PM
> Hi
>
> I am trying to compile a py2exe app. It works with numpy
> 1.3 but if I try numpy 1.5 I get an error when loading the
> app.exe
>
> Traceback (most recent call last):
> File "artisan.pyw", line 109, in <module>
> File "numpy\__init__.pyo", line 136, in
> <module>
> File "numpy\add_newdocs.pyo", line 9, in
> <module>
> File "numpy\lib\__init__.pyo", line 5, in
> <module>
> File "numpy\lib\index_tricks.pyo", line 15, in
> <module>
> ImportError: No module named defmatrix
>
> I've noticed that there is a change in the location of
> defmatrix from 1.3 to the newer 1.5.
>
> 1.3 numpy/core/defmatrix
>
> 1.5 numpy/matrixlib/defmatrix
>
>
> How could I make py2exe work? Any tips?
>
> Thanks
>
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> [email protected]
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion