[Python-projects] Pylint not recognizing numpy

Sylvain Thénault sylvain.thenault at logilab.fr
Mon May 19 21:02:28 CEST 2008


On Sat, May 17, 2008 at 11:12:05PM +0200, Robert Westerfield wrote:
> Hi

Hi,
 
> I am unable to get pylint to recognize numpy (see below for a simple test-case).
> 
> It would be incredibly useful for those of us who are transitioning
> from Matlab to python-based scientific computing to use pylint to
> straighten up our sloppy python code.

huum, I can't remember what is exactly the problem, but iirc pylint is
loosing it's mind in the import cascades and tricks of numpy. For
instance importing array from a package nearer for its actual definition
module (not necessarily the C module name) make it works...
I know that's not perfect but that's all I get now. 

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science



More information about the Python-Projects mailing list