i also had the error
{{{
Traceback (most recent call last):
  File "/usr/bin/pylint", line 5, in <module>
    pkg_resources.run_script('pylint==0.20.0', 'pylint')
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-
py2.6.egg/pkg_resources.py", line 489, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-
py2.6.egg/pkg_resources.py", line 1207, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/lib64/python2.6/site-packages/pylint-0.20.0-py2.6.egg/EGG-
INFO/scripts/pylint", line 4, in <module>
    lint.Run(sys.argv[1:])
  File "/usr/lib/python2.6/site-packages/pylint-0.20.0-
py2.6.egg/pylint/lint.py", line 854, in __init__
    linter.check(args)
  File "/usr/lib/python2.6/site-packages/pylint-0.20.0-
py2.6.egg/pylint/lint.py", line 466, in check
    walker.add_checker(checker)
  File "/usr/lib/python2.6/site-packages/pylint-0.20.0-
py2.6.egg/pylint/utils.py", line 491, in add_checker
    for cls in nodes.ALL_NODE_CLASSES:
AttributeError: 'module' object has no attribute 'ALL_NODE_CLASSES'
}}}

installing logilab-astng-0.20.1 resolved it for me.

it would be nice if pylint could check version, and give nicer errors

sam
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to