[SciPy-dev] CVS updates complete

Pearu Peterson pearu at cens.ioc.ee
Wed Apr 3 09:47:42 CST 2002

On Wed, 3 Apr 2002, eric wrote:

> Ok.  Try again. I thought I was checking that directory checked in -- but
> obviously wasn't.
> To test, I built from a clean CVS checkout, and it worked on windows.

Eric, have you tried to solve weave issues on Python 2.2? A typical error
from testing weave is given at the end of this message.

Under Suse linux, SciPy builds fine, but when importing I got
>>> import scipy
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "scipy/__init__.py", line 56, in ?
    import xplt
  File "scipy/xplt/__init__.py", line 31, in ?
    from Mplot import *
  File "scipy/xplt/Mplot.py", line 57, in ?
    hist = scipy.histogram
AttributeError: 'module' object has no attribute 'histogram'

As a fix, I changed line #56 in Mplot.py
  hist = scipy.histogram
  from scipy.stats import histogram as hist

(Note, I have not commited this fix to CVS, feel free to do so.)


ERROR: check_complex_var_in (test_scalar_spec.test_gcc_complex_converter)
Traceback (most recent call last):
line 213, in check_complex_var_in
    mod.compile(location = test_dir, compiler = self.compiler)
  File "scipy/weave/ext_tools.py", line 321, in compile
    verbose = verbose, **kw)
  File "scipy/weave/build_tools.py", line 194, in build_extension
    setup(name = module_name, ext_modules = [ext],verbose=verb)
  File "/home/peterson/opt/lib/python2.2/distutils/core.py", line 157, in
    raise SystemExit, "error: " + str(msg)
CompileError: error: file
does not exist

More information about the Scipy-dev mailing list