[Numpy-discussion] NameError: global name 'matrix' is not defined
Nils Wagner
nwagner@iam.uni-stuttgart...
Wed Sep 16 11:52:53 CDT 2009
On Wed, 16 Sep 2009 11:41:15 -0500
Robert Kern <robert.kern@gmail.com> wrote:
> On Wed, Sep 16, 2009 at 11:39, Nils
>Wagner<nwagner@iam.uni-stuttgart.de> wrote:
>> Ran 2235 tests in 25.593s
>>
>> FAILED (KNOWNFAIL=1, errors=28, failures=1)
>> <nose.result.TextTestResult run=2235 errors=28
>>failures=1>
>>>>> import numpy
>>>>> numpy.__version__
>> '1.4.0.dev7400'
>>
>> ======================================================================
>> ERROR: test_basic (test_defmatrix.TestAlgebra)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>> File
>> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/tests/test_defmatrix.py",
>> line 190, in test_basic
>> mA = matrix(A)
>> NameError: global name 'matrix' is not defined
>
> Clean out old files before reinstalling.
>
> --
> Robert Kern
Thank you very much. Works for me ...
rm -rf
/home/nwagner/local/lib64/python2.6/site-packages/numpy
Ran 2196 tests in 16.713s
OK (KNOWNFAIL=1)
<nose.result.TextTestResult run=2196 errors=0 failures=0>
Nils
More information about the NumPy-Discussion
mailing list