Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102760 > unrolled thread

pylint -> ImportError: No module named lazy_object_proxy

Started byMichael Ströder <michael@stroeder.com>
First post2016-02-10 14:39 +0100
Last post2016-02-10 18:25 +0100
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  pylint -> ImportError: No module named lazy_object_proxy Michael Ströder <michael@stroeder.com> - 2016-02-10 14:39 +0100
    Re: pylint -> ImportError: No module named lazy_object_proxy Peter Otten <__peter__@web.de> - 2016-02-10 15:09 +0100
      Re: pylint -> ImportError: No module named lazy_object_proxy Michael Ströder <michael@stroeder.com> - 2016-02-10 18:25 +0100

#102760 — pylint -> ImportError: No module named lazy_object_proxy

FromMichael Ströder <michael@stroeder.com>
Date2016-02-10 14:39 +0100
Subjectpylint -> ImportError: No module named lazy_object_proxy
Message-ID<n9fedv$d8a$1@dont-email.me>
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?

Ciao, Michael.

[toc] | [next] | [standalone]


#102761

FromPeter Otten <__peter__@web.de>
Date2016-02-10 15:09 +0100
Message-ID<mailman.10.1455113396.22075.python-list@python.org>
In reply to#102760
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?


[toc] | [prev] | [next] | [standalone]


#102766

FromMichael Ströder <michael@stroeder.com>
Date2016-02-10 18:25 +0100
Message-ID<n9frkg$10r$1@dont-email.me>
In reply to#102761
Peter Otten wrote:
> Michael Ströder wrote:
> 
>> HI!
>>
>> Hmm, I've used pylint before but my current installation gives me an
>> ImportError:
>>
>> $ pylint
>> [..]
>> 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']

Ah, overlooked this. Thanks.

> But doesn't pip care of these?

Yes, likely, but...

I've added new openSUSE packages python-lazy_object_proxy and python-wrapt which
hopefully will appear in devel:languages:python repo soon.

Ciao, Michael.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web