Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


java.lang.RuntimeException: PyLint ERROR:

  • In the error log there are errors originating from plug-in


    like this one

    java.lang.RuntimeException: PyLint ERROR: 
    Traceback (most recent call last):
      File "C:\python\virtualenv\x\Lib\site-packages\pylint\lint.py", line 31, in <module>
        from pylint.checkers import utils
    ImportError: No module named pylint.checkers
        at org.python.pydev.builder.pylint.PyLintVisitor$PyLintThread.passPyLint(PyLintVisitor.java:238)
        at org.python.pydev.builder.pylint.PyLintVisitor$PyLintThread.run(PyLintVisitor.java:107)
  • Fabio Zadrozny
    Fabio Zadrozny

    It seems you specified the PyLint location but it's not available in the PYTHONPATH for the interpreter you're using…

  • Yes and no :)


    from within command line with the same virtualenv activated results in the same error, indeed. However running

    python c:\python\virtualenv\x\Lib\site-packages\pylint\lint.py

    gives no errors. That's because virtualenv's python executable is on the




    extension is still associated with the original Python installation. See http://stackoverflow.com/questions/4879624/

    I think that changing the way PyDev runs pylint (specifying interpreter's name before path to pylint script) would solve this problem.

  • Any comments on this?

  • I think that changing the way PyDev runs pylint (specifying interpreter's name before path to pylint script) would solve this problem.

    Fabio, what do you think?

  • Fabio Zadrozny
    Fabio Zadrozny

    Yes, I think that there are improvements needed to make PyLint have a better integration in PyDev… (I must say I'm not giving a high priority for that because with the pep8 integration and the code-analysis built into PyDev, which are already better integrated, PyLint is becoming less useful, so, I wanted to know which features do you use of PyLint - to know if it's worth spending more time to improve its integration).



  • Thanks for answering.

    From time to time I go through all Pylint's warnings and check code to see what I can do to remove them. It's good there's PEP8 integration now. To tell the truth I thought it would overall be better to make Pylint check all things PEP8 checks; see my question at http://stackoverflow.com/questions/6879640/ It looks like nothing happens with http://www.logilab.org/ticket/82519

    I'd like to make a remark this problem is probably not specific to Pylint. If there were other 3rd party libs called by PyDev the problem would be the same. Maybe there are already such libs which I'm not aware of…