[SciPy-user] weave.test() fails
Russell Cecala
russellcecala at netscape.net
Tue Jul 23 14:12:34 EDT 2002
I hope that someone might be able to help me:
I was following the very simple instructions for
installing weave on a windows OS.
Basically all one is suppose to do is have Python
installed and download and run weave-0.2.3.win32.exe
and then test the installation like so ...
Python 2.2.1 (#34, Apr 9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> import weave
>>> weave.test()
FAILURE to import weave.blitz_spec
weave\blitz_spec.py:3: ImportError: No module named Numeric (in ?)
Caught CompileError
FAILURE to import weave.test_ex
E:\russ\python\lib\distutils\core.py:157: CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2 (in setup)
creating test suite for: weave.ast_tools
!! FAILURE building test for weave.ast_tools
weave\tests\test_ast_tools.py:2: ImportError: No module named Numeric (in ?)
No test suite found for weave.base_info
No test suite found for weave.base_spec
No test suite found for weave.blitz_info
No test suite found for weave.blitz_tools
creating test suite for: weave.build_tools
creating test suite for: weave.catalog
No test suite found for weave.code_blocks
No test suite found for weave.common_info
creating test suite for: weave.common_spec
No test suite found for weave.conversion_code
No test suite found for weave.conversion_code_classes
No test suite found for weave.conversion_code_old
No test suite found for weave.cxx_info
No test suite found for weave.dumbdbm_patched
No test suite found for weave.dumb_shelve
creating test suite for: weave.ext_tools
building extensions here: C:\TEMP\python22_compiled\3572
building extensions here: C:\TEMP\python22_compiled\3573
No test suite found for weave.inline_info
creating test suite for: weave.inline_tools
!! FAILURE building test for weave.inline_tools
weave\tests\test_inline_tools.py:2: ImportError: No module named Numeric (in ?)
No test suite found for weave.lib2def
No test suite found for weave.misc
No test suite found for weave.scalar_info
creating test suite for: weave.scalar_spec
creating test suite for: weave.sequence_spec
No test suite found for weave.size_check
creating test suite for: weave.slice_handler
No test suite found for weave.standard_array_info
No test suite found for weave.standard_array_spec
No test suite found for weave.swig_info
No test suite found for weave.wx_info
No test suite found for weave.wx_spec
warning: specified build_dir '_bad_path_' does not exist or is or is not writable. Trying default locations
....warning: specified build_dir '_bad_path_' does not exist or is or is not writable. Trying default locations
...............................EEE.EEEEEEEE....EEEE....EEE....EEEE................
======================================================================
ERROR: check_file_to_py (test_common_spec.test_file_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_common_spec.py", line 32, in check_file_to_py
file = inline_tools.inline(code,['file_name'])
File "weave\inline_tools.py", line 327, in inline
File "weave\inline_tools.py", line 426, in compile_function
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_py_to_file (test_common_spec.test_file_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_common_spec.py", line 17, in check_py_to_file
inline_tools.inline(code,['file'])
File "weave\inline_tools.py", line 327, in inline
File "weave\inline_tools.py", line 426, in compile_function
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_call_function (test_common_spec.test_callable_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_common_spec.py", line 56, in check_call_function
actual = inline_tools.inline(code,['func','search_str','sub_str'])
File "weave\inline_tools.py", line 327, in inline
File "weave\inline_tools.py", line 426, in compile_function
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_multi_functions (test_ext_tools.test_ext_module)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_ext_tools.py", line 37, in check_multi_functions
mod.compile(location = build_dir)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_return_tuple (test_ext_tools.test_ext_module)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_ext_tools.py", line 94, in check_return_tuple
mod.compile(location = build_dir)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: Simplest possible module
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_ext_tools.py", line 27, in check_simple
mod.compile(location = build_dir)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_string_and_int (test_ext_tools.test_ext_module)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_ext_tools.py", line 73, in check_string_and_int
mod.compile(location = build_dir)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_with_include (test_ext_tools.test_ext_module)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_ext_tools.py", line 58, in check_with_include
mod.compile(location = build_dir)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: Simplest possible function
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_ext_tools.py", line 108, in check_simple
mod.compile(location = build_dir)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_int_return (test_scalar_spec.test_msvc_int_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_scalar_spec.py", line 109, in check_int_return
mod.compile(location = test_dir, compiler = self.compiler)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_int_var_local (test_scalar_spec.test_msvc_int_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_scalar_spec.py", line 90, in check_int_var_local
mod.compile(location = test_dir, compiler= self.compiler)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_var_in (test_scalar_spec.test_msvc_int_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_scalar_spec.py", line 65, in check_var_in
mod.compile(location = test_dir, compiler = self.compiler)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_float_return (test_scalar_spec.test_msvc_float_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_scalar_spec.py", line 183, in check_float_return
mod.compile(location = test_dir, compiler = self.compiler)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_float_var_in (test_scalar_spec.test_msvc_float_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_scalar_spec.py", line 140, in check_float_var_in
mod.compile(location = test_dir, compiler = self.compiler)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_float_var_local (test_scalar_spec.test_msvc_float_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_scalar_spec.py", line 164, in check_float_var_local
mod.compile(location = test_dir, compiler = self.compiler)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_complex_return (test_scalar_spec.test_msvc_complex_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_scalar_spec.py", line 256, in check_complex_return
mod.compile(location = test_dir, compiler = self.compiler)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_complex_var_in (test_scalar_spec.test_msvc_complex_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_scalar_spec.py", line 213, in check_complex_var_in
mod.compile(location = test_dir, compiler = self.compiler)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_complex_var_local (test_scalar_spec.test_msvc_complex_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_scalar_spec.py", line 237, in check_complex_var_local
mod.compile(location = test_dir, compiler = self.compiler)
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_convert_to_dict (test_sequence_spec.test_sequence_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_sequence_spec.py", line 12, in check_convert_to_dict
inline_tools.inline("",['d'])
File "weave\inline_tools.py", line 327, in inline
File "weave\inline_tools.py", line 426, in compile_function
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_convert_to_list (test_sequence_spec.test_sequence_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_sequence_spec.py", line 15, in check_convert_to_list
inline_tools.inline("",['l'])
File "weave\inline_tools.py", line 327, in inline
File "weave\inline_tools.py", line 426, in compile_function
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_convert_to_string (test_sequence_spec.test_sequence_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_sequence_spec.py", line 18, in check_convert_to_string
inline_tools.inline("",['s'])
File "weave\inline_tools.py", line 327, in inline
File "weave\inline_tools.py", line 426, in compile_function
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
======================================================================
ERROR: check_convert_to_tuple (test_sequence_spec.test_sequence_specification)
----------------------------------------------------------------------
Traceback (most recent call last):
File "weave\tests\test_sequence_spec.py", line 21, in check_convert_to_tuple
inline_tools.inline("",['t'])
File "weave\inline_tools.py", line 327, in inline
File "weave\inline_tools.py", line 426, in compile_function
File "weave\ext_tools.py", line 349, in compile
File "weave\build_tools.py", line 194, in build_extension
File "E:\russ\python\lib\distutils\core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command '"d:\program files\devstudio\vc\bin\cl.exe"' failed with exit status 2
----------------------------------------------------------------------
Ran 86 tests in 12.338s
FAILED (errors=22)
<unittest.TextTestRunner instance at 0x00AB0D40>
>>>
What did I do wrong?
Thanks
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop at Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
More information about the SciPy-User
mailing list