[PYTHON MATRIX-SIG] RE: NameError: searchsorted

Jim Hugunin hugunin@mit.edu
Mon, 24 Feb 1997 16:29:21 -0500


Susan Peterson writes:
> Hi,
>
> I've installed the new Numerics, but the test program isn't running.
> After removing the CRs in the test_items.py file, when I run the
> test_all.py I get the following error (after it has run for awhile)
>
> Traceback (innermost last):
>   File "test_all.py", line 48, in ?
>     test_lines(fp.readlines())
>   File "test_all.py", line 29, in test_lines
>     out = eval(line)
>   File "<string>", line 0, in ?
> NameError: searchsorted
>
> Any ideas what I should do?

This error indicates that you are referencing an old version of Numeric.py. 
 This could either be due to a path problem pointing to an old 
installation, or due to an old .pyc file being used instead of the new .py. 

Hope this helps - Jim


_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________