[Python-projects] Pylint Installation
Tom Crawley
tcrawley at beacon-cs.com
Thu Jan 15 21:12:41 CET 2009
Hi,
Is the correct email address for Pylint related issues ?
I cannot get pylint to work.
I get the following error:
Traceback (most recent call last):
File "/usr/local/bin/pylint", line 5, in <module>
pkg_resources.run_script('pylint==0.15.2', 'pylint')
File "build/bdist.linux-i686/egg/pkg_resources.py", line 448, in run_script
File "build/bdist.linux-i686/egg/pkg_resources.py", line 1166, in run_script
File "/usr/local/lib/python2.5/site-packages/pylint-0.15.2-py2.5.egg/EGG-INFO/scripts/pylint", line 4, in <module>
lint.Run(sys.argv[1:])
File "/usr/local/lib/python2.5/site-packages/pylint-0.15.2-py2.5.egg/pylint/lint.py", line 827, in __init__
linter.load_config_file()
File "/usr/local/lib/python2.5/site-packages/logilab_common-0.37.1-py2.5.egg/logilab/common/configuration.py", line 527, in load_config_file
provider.set_option(option, value, opt_dict=optdict)
File "/usr/local/lib/python2.5/site-packages/pylint-0.15.2-py2.5.egg/pylint/lint.py", line 329, in set_option
BaseRawChecker.set_option(self, opt_name, value, action, opt_dict)
File "/usr/local/lib/python2.5/site-packages/logilab_common-0.37.1-py2.5.egg/logilab/common/configuration.py", line 700, in set_option
raise UnsupportedAction(action)
logilab.common.configuration.UnsupportedAction: callback
[tcrawley at tom64 db]$
I have astng-0.17.4 and logilab-common-0.37.1 installed as libraries.
Pylint is a great tool but it is extremely frustrating to use because of installation problems etc.
I sent an email discussing the use of namespace package etc but this seems to have been ignored.
The line:
__import__('pkg_resources').declare_namespace(__name__)
must be added to the setup.py files for the logilab package __init__.py in astng and commons distributions.
Does anyone have any idea what is causing this problem ?
Thanks
Tom
More information about the Python-Projects
mailing list