[SciPy-dev] weave.test() fails
eric at enthought.com
Thu Jul 18 22:42:06 CDT 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
The output from this may provide a few more hints as to what is
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
> -----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.
> Scipy-dev mailing list
> Scipy-dev at scipy.net
More information about the Scipy-dev