[Numpy-discussion] Getting pylint to recognize numpy

Robert Westerfield robwesterfield@gmail....
Sat May 17 15:49:19 CDT 2008


Hi,

I am unable to get the incredibly useful pylint (0.14) to recognize numpy.

Could anyone help me out here please?

Thank you!

-Rob

1) Confirming that python picks up numpy:
D:\src>python DummyModule.py
[1 2 3]

2) Running pylint:
D:\src>pylint -rn -iy DummyModule
No config file found, using default configuration
************* Module DummyModule
E0611:  5: No name 'array' in module 'numpy'



3) Contents of DummyModule.py:

""" Dummy doc-string

"""

from numpy import array

if __name__ == '__main__':
    Z = array([1, 2, 3])
    print Z


More information about the Numpy-discussion mailing list