zoukankan      html  css  js  c++  java
  • Python pylint requires Python '>=3.4.*' but the running Python is 2.7.12

    用pylint 1.9.x 安装

     pip install pylint==1.9.3.
    

    或者换源

    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pylint==1.9.3 
    

    应该是可以安装成功

    下面是stackoverflow上的问答
    How can I install the pylint for python2.7?

    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
    

    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

    And we can use this command to install the last pylint version of 1.9.x for python2.7.

    pip install pylint==1.9.3.
    
  • 相关阅读:
    函数 out 传值 分割
    函数
    特殊集合
    集合
    数组

    穷举
    循环
    mac 软件安装
    实用信息查询接口
  • 原文地址:https://www.cnblogs.com/vercont/p/10210191.html
Copyright © 2011-2022 走看看