] > Re: [Python-projects] PyLint Error (Logilab.org)

Email Re: [Python-projects] PyLint Error

from
to
Ann & Piet Stevens - De Smedt <ann-piet at pandora dot be>
subject
Re: [Python-projects] PyLint Error
date
2003/09/22 08:32
On Saturday 20 September à 00:06, Ann & Piet Stevens - De Smedt wrote:

> Dear Madam/Sir,

> I have installed pylint 0.1.2 and common libraries 0.3.0, for use with
> Python2.3 on a Windows2000 machine. After having added a pylint.bat on the
> bin directory, the install works, but I receive the following error message
> when trying to use PyLint:

> C:\Python23\Test1\App1>c:\python23\python
> C:\Python23\Lib\site-packages\logilab\
> pylint\lint.py wxFrame1
> Traceback (most recent call last):
>   File "C:\Python23\Lib\site-packages\logilab\pylint\lint.py", line 31, in ?
>     from logilab.common.astng import ASTNGManager, ASTNGBuildingException
> ImportError: cannot import name ASTNGManager

> What is wrong?

common 0.3 introduced some non backward compatible changes in the astng 
module. You'll have to use the latest pylint version (0.2) or downgrade
common (but that would be a pity, since pylint 0.2 + common 0.3 fix a 
lot of bugs and add some nice functionnalities :). We  didn't announced 
it yet but pylint 0.2 is available from our ftp site.

-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects


is a reply to