Can you run the script below from eclipse and outside eclipse and post its results in each case?

import sys
for p in sys.path: print p

Cheers,

Fabio

On 9/25/07, patrimith <paddysmith@gmail.com> wrote:

I'm trying to start using pylint but I am running into the following problem:

java.lang.RuntimeException: PyLint ERROR:
Traceback (most recent call last):
  File "C:\python\python2.4.4\Lib\site-packages\pylint\lint.py", line 31, in
?
    from pylint.checkers import utils
ImportError: No module named checkers

        at
org.python.pydev.builder.pylint.PyLintVisitor$PyLintThread.passPyLint(PyLintVisitor.java:237)
        at
org.python.pydev.builder.pylint.PyLintVisitor$PyLintThread.run (PyLintVisitor.java:107)

>From the command line:

Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylint
>>> import pylint.checkers
>>> from pylint.checkers import utils
>>>

the import works fine.

The import works in the python code I've written within PyDev. In fact, I
can type it in using code completion.

I recently added pylint and its supporting libraries. I thought that maybe
removing and re-adding the Python interpreter to update what PyDev knows of
the site-packages would help but it did not.

Eclipse 3.3
PyDev 1.3.9
Pylint 0.13.2

Any thoughts?

Thanks,

Patrick Smith
http://www.openengagement.com
--
View this message in context: http://www.nabble.com/error-using-pylint-tf4517342.html#a12885690
Sent from the pydev-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users