Can you share the entire "pip freeze" output ?
Especially Astoid and logilab-common versions/details ?

https://bitbucket.org/logilab/pylint says "Pylint requires the astroid (the 
later the better; formerly known as logilab-astng) and logilab-common 
(version >= 0.53) packages"

This may provide additional clues.

-Mandar

On Wednesday, December 17, 2014 8:32:23 PM UTC+5:30, Prasad Muley wrote:
>
> Hi Flagist,
>
>
>          I've installed pylint-web2py plugin by downloading from 
> flagist-pylint-web2py <https://github.com/flagist0/pylint-web2py> github.
>
> 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*
>
>
>
> On Thursday, December 11, 2014 10:03:15 PM UTC+5:30, flagist0 wrote:
>>
>>
>>
>> On Wednesday, December 10, 2014 7:04:17 AM UTC+4, Massimo Di Pierro wrote:
>>>
>>> perhaps we should include this in script?
>>>
>>> Pylint expects the plugins to be installed system-wide, so it's better 
>> to use this plugin as a separate package.
>> But I'll register my version of the plugin on PyPI so it can be installed 
>> without git.
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to