Tester is a class, not a module. Try "from numpy.testing import Tester". On 2008-08-06, Robert Pyle <rpyle@post.harvard.edu> wrote:

On Aug 6, 2008, at 4:17 PM, Alan McIntyre wrote:

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).

Thanks. I can now import scipy, but I'm puzzled by the following:

Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import numpy as np np.__version__ '1.2.0.dev5616' import np.testing.Tester Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named np.testing.Tester import scipy scipy.__version__ '0.7.0.dev4603'

How come 'import np.testing.Tester' fails, but scipy imports okay even though it used to fail with a complaint about the absence of np.testing.Tester?

Bob

_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

-- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco