[SciPy-user] weave failures on OSX

Christopher Fonnesbeck chris at fonnesbeck.org
Mon Jun 2 21:39:29 EDT 2003


Just got a new Powerbook, and am trying to get scipy and weave running. 
I built weave from CVS, but the test yields 31 errors ... I'll post the 
first and last here:

======================================================================
ERROR: result[1:-1,1:-1] = (b[1:-1,1:-1] + b[2:,1:-1] + b[:-2,1:-1]
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.2/site-packages/weave/tests/test_blitz_tools.py", 
line 155, in check_5point_avg_2d_double
     self.generic_2d(expr,Float64)
   File 
"/usr/lib/python2.2/site-packages/weave/tests/test_blitz_tools.py", 
line 130, in generic_2d
     mod_location)
   File 
"/usr/lib/python2.2/site-packages/weave/tests/test_blitz_tools.py", 
line 80, in generic_test
     blitz_tools.blitz(expr,arg_dict,{},verbose=0) #,
   File "/usr/lib/python2.2/site-packages/weave/blitz_tools.py", line 
72, in blitz
     type_converters = converters.blitz,
   File "/usr/lib/python2.2/site-packages/weave/inline_tools.py", line 
445, in compile_function
     exec 'import ' + module_name
   File "<string>", line 1, in ?
ImportError: Failure linking new module

...etc ...

======================================================================
ERROR: check_exceptions (test_inline_tools.test_inline)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.2/site-packages/weave/tests/test_inline_tools.py", 
line 25, in check_exceptions
     result = inline_tools.inline(code,['a'])
   File "/usr/lib/python2.2/site-packages/weave/inline_tools.py", line 
335, in inline
     auto_downcast = auto_downcast,
   File "/usr/lib/python2.2/site-packages/weave/inline_tools.py", line 
445, in compile_function
     exec 'import ' + module_name
   File "<string>", line 1, in ?
ImportError: Failure linking new module

----------------------------------------------------------------------
Ran 186 tests in 354.412s

FAILED (errors=31)
<unittest.TextTestRunner instance at 0x60c140>


Any ideas?




More information about the SciPy-User mailing list