I have to use Python 2.6.6 on linux host and I am trying to use pylint. Available versions I have are 1.9.5 or 1.6.4. But when I am trying to use them I am getting following errors?
% pylint --version
Traceback (most recent call last):
File "../pylint/1.9.5/ppylint/bin/pylint", line 5, in <module>
from pylint import run_pylint
File "../pylint/__init__.py", line 11, in <module>
from .__pkginfo__ import version as __version__
File "../pylint/__pkginfo__.py", line 25, in <module>
from pkg_resources import parse_version
File "../pkg_resources/__init__.py", line 959, in <module>
class Environment:
File "../pkg_resources/__init__.py", line 963, in Environment
self, search_path=None, platform=get_supported_platform(),
File "../pkg_resources/__init__.py", line 190, in get_supported_platform
plat = get_build_platform()
File "../pkg_resources/__init__.py", line 393, in get_build_platform
from sysconfig import get_platform
ImportError: No module named sysconfig
Can this be fixed somehow without removing something from the installation? e.g. I am not allowed to remove files from ../pkg_resources/
Is there are some other pylint version compatible with python 2.6.6 that would have the option --msg-template which is mandatory for pydev plugin for eclipse?
Thank you