我尝试在ubuntu 18.04中为python2.7安装pylint,但是使用以下单词会引发错误:
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
Run Code Online (Sandbox Code Playgroud)
我已经使用pip3成功为python3.6安装了pylint。
那么,如何为python2.7安装pylint?