[Numpy-discussion] Matrix.py problem

JEFFERY COLLINS collins at rushe.aero.org
Mon Feb 28 12:17:38 CST 2000


I installed the Numpy 15.2 and got the following error during the
import of Matrix.  Apparently, the version number is no longer
embedded in the module doc string following the # sign.

>>> import Matrix
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/site-packages/Numeric/Matrix.py", line 5, in ?
    __version__ = int(__id__[string.index(__id__, '#')+1:-1])
  File "/usr/local/lib/python1.5/string.py", line 138, in index
    return _apply(s.index, args)
ValueError: substring not found in string.index

Jeff




More information about the Numpy-discussion mailing list