I try to install the pylint for the python2.7 which in ubuntu 18.04, but it raises an error with this words:
pip install pylint Collecting pylint Using cached https://pypi.tuna.tsinghua.edu.cn/packages/04/1f/1d3929051b45c3e4015178c5fe5bbee735fb4e362e0fc4f0fbf3f68647ad/pylint-2.1.1.tar.gz pylint requires Python '>=3.4.*' but the running Python is 2.7.15
I have been used the pip3
installed the pylint successfully for python3.6.
So, how can I install the pylint for python2.7?
Advertisement
Answer
pylint still maintains support for Python 2 until maybe next year or so. But you need to install 1.9.X
instead of 2.X
. It seems though that you already had pylint
installed, once you uninstall it you should be able to get 1.9 instead.