[Numpy-discussion] TypeError: 'module' object is not callable

Alan G Isaac aisaac@american....
Tue Jan 12 08:15:37 CST 2010


On 1/12/2010 1:35 AM, Jankins wrote:
>>>>  from scipy.sparse.linalg.eigen import eigen
> Traceback (most recent call last):
>     File "<stdin>", line 1, in<module>
> ImportError: cannot import name eigen


Look at David's example:
from scipy.sparse.linalg import eigen

hth,
Alan Isaac


More information about the NumPy-Discussion mailing list