Pylint Hassle

2009-02-23
2013-03-15
  • Glen Richards

    Glen Richards - 2009-02-23

    I've installed:

    pylint 0.16.0
    logilab-astng-0.17.4
    logilab-common-0.38.0

    I get the following exception in eclipse:

    Traceback (most recent call last):
    File "C:\dev\Python26\Lib\site-packages\pylint-0.16.0-py2.6.egg\pylint\lint.py", line 31, in <module>
       from pylint.checkers import utils
    File "c:\dev\python26\lib\site-packages\pylint-0.16.0-py2.6.egg\pylint\checkers\__init__.py", line 40, in <module>
       from logilab.astng.utils import ASTWalker
    File "C:\dev\Python26\Lib\site-packages\logilab\astng\__init__.py", line 48, in <module>
       from logilab.common.compat import chain, imap
    ImportError: No module named common.compat

    I know this is likely to be a issue with pylint (I've posted there too), but I'm posting here in case anyone knows what's up.

    I've tried using easy_install & manual "setup.py install" on clean installs of Python 2.6 (Windows Vista)

    I'm using pydev 1.4.4

    Is there a known good version combo of pylint & it's deps that work with pydev?

    ta.

    Glen

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2009-03-04

      Hi Glen,

      Sorry for the delay (this got lost in my e-mail)... Unfortunately, I don't know of a specific version & deps that should work (because any 'running' PyLint version should work... so, the PyLint team will probably be able to give you a better answer on a version that works).

      Cheers,

      Fabio

       
      • Glen Richards

        Glen Richards - 2009-03-05

        No worries Fabio.

        Indeed it's a PyLint problem.

        For anyone that reads this, I think my problem is related to this case: http://www.logilab.org/ticket/7915, so should be fixed in logilab-common 0.38.2, when it's released.

        Cheers,

        Glen

         
    • Glen Richards

      Glen Richards - 2009-03-26

      Just a follow up...

      It was fixed in logilab-common 0.39.0

      if you easy_install:
      logilab-common 0.39.0
      logilab-astng 0.19.0
      pylint 0.18.0

      That combo works with Python 2.6 on Windows.

      Not really a pydev issue though.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks