[SciPy-user] can't get weave to work (apologies for resend)

Travis Oliphant oliphant at ee.byu.edu
Thu Oct 26 18:28:39 CDT 2006

James Coughlan wrote:

>When I try to run a simple weave example (main.py):
>from scipy import weave
>it gives me this error message:
>CompileError: error: Command "g++ -mno-cygwin -mdll -O2 -w
>ve -IC:\Python24\lib\site-packages\scipy\weave\scxx
>de -IC:\Python24\include -IC:\Python24\PC -c
>p.cpp -o
>failed with exit status
>WARNING: Failure executing file: <main.py>

It looks like your compiler is not working. 

Go to the temporary directory where weave has stored the source code it 
is compiling and try to compile it at the command line.  Perhaps we are 
not seeing all the error messages that would identify what is wrong with 
your set-up.

More information about the SciPy-user mailing list