[Numpy-discussion] What happened to numpy.testing.Tester ?

Alan McIntyre alan.mcintyre at gmail.com
Wed Aug 6 16:17:32 EDT 2008


On Wed, Aug 6, 2008 at 3:57 PM, Robert Pyle <rpyle at post.harvard.edu> wrote:
> My machine: Mac dual G5, OSX 10.5.4, Python 2.5.2 (r252:60911, Feb 22
> 2008, 07:57:53), numpy 1.1.1
>
> After considerable agony, I succeeded in building and installing scipy
> from SVN, only to be told upon importing it:
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/scipy/__init__.py", line 86, in <module>
>     from numpy.testing import Tester
> ImportError: cannot import name Tester
>
> A message here from Alan McIntyre on June 20, said, in part:
> "NoseTester will still be made available as numpy.testing.Tester."
>
> It appears that each of the seemingly innumerable __init__.py files
> throughout the scipy sources calls for numpy.testing.Tester.
>
> Should I ask over on the scipy list as well?  Is there some trivial
> change that will fake out either numpy or scipy into thinking all is
> well?

You will actually need to use NumPy from svn as well, since 1.1.1
didn't have NoseTester (SciPy 0.7 will require NumPy 1.2).



More information about the NumPy-Discussion mailing list