[SciPy-user] ImportError: cannot import name Tester

Christopher MacMinn cmac@mit....
Tue Oct 14 11:19:21 CDT 2008

Hi folks -

I just installed Scipy 0.7.0 build 4797, and import is failing:

# ---------------------------------------------------------

In [3]: import scipy
ImportError                               Traceback (most recent call  

/Library/Python/2.5/site-packages/<ipython console> in <module>()

/Library/Python/2.5/site-packages/scipy/__init__.py in <module>()
     86     __doc__ += pkgload.get_pkgdocs()
---> 88 from numpy.testing import Tester
     89 test = Tester().test
     90 bench = Tester().bench

ImportError: cannot import name Tester

In [4]:

# ---------------------------------------------------------

I imagine I can fix this by commenting out the troublesome lines in  
__init__.py, but perhaps it is a bug in this build?  I did not have  
this problem with build 4786.

I'm running Python 2.5 and numpy 1.2.0 on Mac OS 10.5.

Best, Chris MacMinn

More information about the SciPy-user mailing list