pylint -> ImportError: No module named lazy_object_proxy
Peter Otten
__peter__ at web.de
Wed Feb 10 09:09:33 EST 2016
Michael Ströder wrote:
> HI!
>
> Hmm, I've used pylint before but my current installation gives me an
> ImportError:
>
> $ pylint
> Traceback (most recent call last):
> File "/usr/bin/pylint", line 3, in <module>
> run_pylint()
> File "/usr/lib/python2.7/site-packages/pylint/__init__.py", line 22, in
> run_pylint
> from pylint.lint import Run
> File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 44, in
> <module>
> import astroid
> File "/usr/lib/python2.7/site-packages/astroid/__init__.py", line 54, in
> <module>
> from astroid.nodes import *
> File "/usr/lib/python2.7/site-packages/astroid/nodes.py", line 39, in
> <module>
> from astroid.node_classes import (
> File "/usr/lib/python2.7/site-packages/astroid/node_classes.py", line
> 24, in
> <module>
> import lazy_object_proxy
> ImportError: No module named lazy_object_proxy
>
> Can anybody here give me a hint what's missing?
> six, astroid and tk modules are installed.
> Any more dependencies?
How about the dependencies' dependencies? Grepping through the astroid
source finds
./astroid/__pkginfo__.py:install_requires = ['six', 'lazy_object_proxy',
'wrapt']
But doesn't pip care of these?
More information about the Python-list
mailing list