| From | Sylvain Thénault <sylvain.thenault@logilab.fr> |
| To | |
| Date | 2011/02/04 09:25 |
| Subject | Re: [pylint] New ticket #60286: module attribute false positive? |
On 03 février 20:14, Roy Lowrance wrote:
> I see that I'm behind, because I get:
> ~ $pylint --version
> pylint 0.21.1,
> astng 0.20.1, common 0.50.3
> Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
> [GCC 4.4.5]
>
> So I used hg to clone, switched to the pylint directory, and ran "sudo
> python setup.py install" which seems to run without an error message.
>
> However, "pylint --version" gives:
> pylint --version
> Traceback (most recent call last):
> File "/usr/bin/pylint", line 3, in <module>
> from pylint import lint
> File "/usr/local/lib/python2.6/dist-packages/pylint/lint.py", line 31, in
> <module>
> from pylint.checkers import utils
> File "/usr/local/lib/python2.6/dist-packages/pylint/checkers/utils.py",
> line 22, in <module>
> from logilab.common.compat import builtins
> ImportError: cannot import name builtins
>
> This would be must simplier of the Ubuntu repositories were updated. They
> are at version 21.1-1.
>
> Is there a way for you to update them.
our own ubuntu repository should be up to date. Are you using them ?
See http://www.logilab.org/card/LogilabDebianRepository
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
CubicWeb, the semantic web framework: http://www.cubicweb.org
> I see that I'm behind, because I get:
> ~ $pylint --version
> pylint 0.21.1,
> astng 0.20.1, common 0.50.3
> Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
> [GCC 4.4.5]
>
> So I used hg to clone, switched to the pylint directory, and ran "sudo
> python setup.py install" which seems to run without an error message.
>
> However, "pylint --version" gives:
> pylint --version
> Traceback (most recent call last):
> File "/usr/bin/pylint", line 3, in <module>
> from pylint import lint
> File "/usr/local/lib/python2.6/dist-packages/pylint/lint.py", line 31, in
> <module>
> from pylint.checkers import utils
> File "/usr/local/lib/python2.6/dist-packages/pylint/checkers/utils.py",
> line 22, in <module>
> from logilab.common.compat import builtins
> ImportError: cannot import name builtins
>
> This would be must simplier of the Ubuntu repositories were updated. They
> are at version 21.1-1.
>
> Is there a way for you to update them.
our own ubuntu repository should be up to date. Are you using them ?
See http://www.logilab.org/card/LogilabDebianRepository
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
CubicWeb, the semantic web framework: http://www.cubicweb.org

