ghostlotus
V2EX  ›  问与答

vscode 下 pylint 无法工作,完全没有下划线

  •  
  •   ghostlotus · Dec 21, 2018 · 3322 views
    This topic created in 2716 days ago, the information mentioned may be changed or developed.
    visual studio code 版本 1.30.1
    python 版本 3.7.1 64 位

    用户设置
    {
    "python.pythonPath": "C:\\Users\\GhostLotus\\AppData\\Local\\Programs\\Python\\Python37\\python.exe",
    "python.linting.pylintEnabled": true,
    "python.linting.enabled": true
    }

    不光是 pylint,flake8 也不行

    怎么解决?
    7 replies    2018-12-21 17:42:04 +08:00
    casparchen
        1
    casparchen  
       Dec 21, 2018
    python.linting.pylintPath ?
    CallMeReznov
        2
    CallMeReznov  
       Dec 21, 2018
    你 flake8 或 pylint 装了吗?
    ghostlotus
        3
    ghostlotus  
    OP
       Dec 21, 2018
    那肯定是装了阿
    ghostlotus
        4
    ghostlotus  
    OP
       Dec 21, 2018
    添加了
    {
    "python.pythonPath": "C:\\Users\\GhostLotus\\AppData\\Local\\Programs\\Python\\Python37\\python.exe",
    "python.linting.pylintPath": "C:\\Users\\GhostLotus\\AppData\\Local\\Programs\\Python\\Python37\\Scripts\\pylint.exe",
    "python.linting.pylintEnabled": true,
    "python.linting.enabled": true
    }

    还是不行
    ashes1122
        5
    ashes1122  
       Dec 21, 2018
    @ghostlotus 路径?
    ashes1122
        6
    ashes1122  
       Dec 21, 2018
    @ghostlotus 路径不是这样写的吧。
    ghostlotus
        7
    ghostlotus  
    OP
       Dec 21, 2018
    @ashes1122 就是这么写的阿,不然还能怎么写
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   952 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 21:38 · PVG 05:38 · LAX 14:38 · JFK 17:38
    ♥ Do have faith in what you're doing.