Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6573089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:05:18+00:00 2026-05-25T15:05:18+00:00

Maybe someone has a clue about this one. Google, the Logilab.org archives and every

  • 0

Maybe someone has a clue about this one. Google, the Logilab.org archives and every other source I tried to determine a solution have turned up empty.

I was trying to get Pylint 2.4 running with PyDev in Eclipse (with Python 2.6) on Windows, but right now I’d be happy simply running pylin at all. I used easy_install to install pylint and it’s dependancies. That seemed to work fine. However if I try to run c:\python26\Scripts\pylint.bat , I get the following:

Traceback (most recent call last):
  File "C:\Python26\Scripts\pylint", line 5, in <module>
    pkg_resources.run_script('pylint==0.24.0', 'pylint')
  File "c:\Python26\lib\site-packages\pkg_resources.py", line 489, in run_script

    self.require(requires)[0].run_script(script_name, ns)
  File "c:\Python26\lib\site-packages\pkg_resources.py", line 1207, in run_script
    execfile(script_filename, namespace, namespace)
  File "c:\python26\lib\site-packages\pylint-0.24.0-py2.6.egg\EGGINFO\scripts\pylint", line 3, in <module>
    from pylint import lint
  File "c:\Python26\lib\site-packages\pylint-0.24.0-py2.6.egg\pylint\lint.py", line 31, in <module>
    from pylint.checkers import utils
  File "c:\Python26\lib\site-packages\pylint-0.24.0py2.6.egg\pylint\checkers\__init__.py", line 44, in <module>
    from logilab.astng.utils import ASTWalker
  File "c:\Python26\lib\site-packages\logilab_astng-0.22.0py2.6.egg\logilab\astng\__init__.py", line 58, in <module>
    from logilab.astng.nodes import *
  File "c:\Python26\lib\site-packages\logilab_astng-0.22.0-py2.6.egg\logilab\astng\nodes.py", line 54, in <module>
    from logilab.astng.node_classes import Arguments, AssAttr, Assert, Assign, \

  File "c:\Python26\lib\site-packages\logilab_astng-0.22.0-py2.6.egg\logilab\astng\node_classes.py", line 27, in <module>
    from logilab.astng.bases import (NodeNG, Statement, Instance, InferenceContext,
  File "c:\Python26\lib\site-packages\logilab_astng-0.22.0-py2.6.egg\logilab\astng\bases.py", line 28, in <module>
    from logilab.common.compat import builtins
ImportError: cannot import name builtins

I mucked around and looked into based.py, but I have no clue what the problem is. My shell path includes C:\python26;c:\Python26\Scripts.

Does this have something to do with lib2to3? Or Python 2.6 compatibility?

Note that I installed pylint using “easy_install pylint”, and logilab-common is at the latest 0.56.2.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:05:18+00:00Added an answer on May 25, 2026 at 3:05 pm

    For me, there is a logilab.common.compat module buried inside the egg “logilab.pylintinstaller-0.15.2-py2.6.egg” in my site-packages folder. Having the logilab_common egg installed, removing the pylintinstaller egg got pylint working in eclipse. I found this out via IPython like so:

    In [37]: import logilab.common.compat
    
    In [38]: from logilab.common.compat import builtins
    ---------------------------------------------------------------------------
    ImportError                               Traceback (most recent call last)
    
    C:\Users\Rio\Documents\mcedit\pymclevel\<ipython console> in <module>()
    
    ImportError: cannot import name builtins
    
    In [41]: logilab.common.compat.__file__
    Out[41]: 'c:\\python26\\lib\\site-packages\\logilab.pylintinstaller-0.15.2-py2.6.egg\\logilab\\common\\compat.pyc'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm betting that someone has already solved this and maybe I'm using the wrong
I have a question about strange return sizes when calling GetUserNameEx(). Maybe someone has
maybe this question is a little too general but maybe someone has experience the
I've been unable to find an answer for this (maybe someone has hacked a
Now this is going to be a little weird use-case. Maybe someone has some
I found a problem which I can't find solution, maybe someone has seen this
I would like to select whole body besides one div. Or maybe someone has
It may be a bit too specific, but maybe someone here has experience extending
I find this question a little tricky. Maybe someone knows an approach to answer
It is more of a complain than a question, though maybe someone has some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.