[SciPy-dev] weave.test() fails
eric jones
eric at enthought.com
Thu Jul 18 23:42:06 EDT 2002
You need to import os before you can call it. Try:
>>> import os
>>> os.system('gcc -v')
Also, a simple test to see more debug information is:
>>> import weave
>>> weave.inline("",[],verbose=2)
The output from this may provide a few more hints as to what is
happening.
Also, weave only works if you have a C++ compiler installed (MSVC++ or
gcc). Without one of these, there is no way for weave to compile the
code.
Eric
> -----Original Message-----
> From: scipy-dev-admin at scipy.net [mailto:scipy-dev-admin at scipy.net] On
> Behalf Of russell cecala
> Sent: Thursday, July 18, 2002 10:36 PM
> To: scipy-dev at scipy.org
> Cc: russell cecala
> Subject: [SciPy-dev] weave.test() fails
>
> When I run
> >>> weave.test()
> I get a bunch of error and output ...
>
> Ran 107 test in 25.298s
> FAILED (errors=9)
>
> I am runing Python 2.2.1 and I installed weave-0.2.3.win32.
>
> When I tried
> >>> os.system('gcc -v')
> I got
> NameError: name 'os' is not defined.
>
> I am new to Python and weave.
> Any help would be appreciated.
>
> Thanks!
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
More information about the SciPy-Dev
mailing list