[SciPy-dev] Now new svn of numpy is ready

Arnd Baecker arnd.baecker at web.de
Thu Jan 5 03:11:13 CST 2006


On Thu, 5 Jan 2006, Pearu Peterson wrote:

> On Thu, 5 Jan 2006, Fernando Perez wrote:
>
> > Arnd Baecker wrote:
> >> success!
> >>
> >> Installing numpy/scipy on the opteron:
> >>
> >> In [8]: numpy.__version__
> >> Out[8]: '0.9.2.1818'
> >>
> >> numpy.test(10)
> >> Ran 178 tests in 0.171s
> >>
> >> In [7]: scipy.__numpy_version__
> >> Out[7]: '0.9.2.1818'
> >>
> >> scipy.test(10)
> >> Ran 945 tests in 56.373s
>
> Try also
>
> scipy.pkgload()
> scipy.test(10)
>
> to run more tests.

Ran 1222 tests in 52.578s

Excellent!
(It seems that I'll have to familiarize myself with pkgload ... -
though I am wondering, whether scipy.test(*10*) maybe
should trigger that on its own?  Just to make sure that
really all available test are run?)


A small glitch: First I accidentally started from the
installation directory:

In [1]: import numpy
Running from numpy source directory.

In [2]: import scipy
---------------------------------------------------------------------------
exceptions.ImportError                               Traceback (most
recent call last)

/home/abaecker/BUILDS3/Build_114/numpy/<console>

/home/abaecker/BUILDS3/Build_114/inst_numpy/lib/python2.4/site-packages/scipy/__init__.py
     49
     50 if show_numpy_config is not None:
---> 51     from numpy import __version__ as __numpy_version__
     52     __doc__ += __numpy_doc__
     53     pkgload(verbose=NUMPY_IMPORT_VERBOSE,postpone=True)

ImportError: cannot import name __version__

Best, Arnd




More information about the Scipy-dev mailing list