Hi Flagist,
I've checked whether pylint-web2py plugin is successfully installed or not using following command:
$ pip freeze | grep pylint-web2py [20:22:13]
pylint-web2py==0.1.2
I am getting following an error If I run following commands.
$ pylint -E --load-plugins pylint-web2py applications/asdf/scripts/asdf.py
Traceback (most recent call last):
File "/usr/local/bin/pylint", line 9, in <module>
load_entry_point('pylint==1.4.0', 'console_scripts', 'pylint')()
File "/usr/local/lib/python2.7/dist-packages/pylint-1.4.0-py2.7.egg/pylint/__init__.py", line 23, in run_pylint
Run(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/pylint-1.4.0-py2.7.egg/pylint/lint.py", line 1193, in __init__
linter.load_plugin_modules(self._plugins)
File "/usr/local/lib/python2.7/dist-packages/pylint-1.4.0-py2.7.egg/pylint/lint.py", line 469, in load_plugin_modules
module = load_module_from_name(modname)
File "/usr/local/lib/python2.7/dist-packages/astroid-1.3.2-py2.7.egg/astroid/modutils.py", line 135, in load_module_from_name
return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
File "/usr/local/lib/python2.7/dist-packages/astroid-1.3.2-py2.7.egg/astroid/modutils.py", line 177, in load_module_from_modpath
mp_file, mp_filename, mp_desc = imp.find_module(part, path)
ImportError: No module named pylint-web2py
Or
$ pylint '--load-plugins=pylint-web2py' applications/asdf/scripts/asdf.py
Traceback (most recent call last):
File "/usr/local/bin/pylint", line 9, in <module>
load_entry_point('pylint==1.4.0', 'console_scripts', 'pylint')()
File "/usr/local/lib/python2.7/dist-packages/pylint-1.4.0-py2.7.egg/pylint/__init__.py", line 23, in run_pylint
Run(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/pylint-1.4.0-py2.7.egg/pylint/lint.py", line 1193, in __init__
linter.load_plugin_modules(self._plugins)
File "/usr/local/lib/python2.7/dist-packages/pylint-1.4.0-py2.7.egg/pylint/lint.py", line 469, in load_plugin_modules
module = load_module_from_name(modname)
File "/usr/local/lib/python2.7/dist-packages/astroid-1.3.2-py2.7.egg/astroid/modutils.py", line 135, in load_module_from_name
return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
File "/usr/local/lib/python2.7/dist-packages/astroid-1.3.2-py2.7.egg/astroid/modutils.py", line 177, in load_module_from_modpath
mp_file, mp_filename, mp_desc = imp.find_module(part, path)
ImportError: No module named pylint-web2py