Linter pylint is not installed

前端 未结 15 1774
遥遥无期
遥遥无期 2020-12-12 12:56

I want to run python code in Microsoft Visual Studio Code but it gives an error:

\"Linter pylint is not installed\"

I installed:

15条回答
  •  离开以前
    2020-12-12 13:14

    1. Open a terminal (ctrl+~)
    2. Run the command pip install pylint

    If that doesn't work: On the off chance you've configured a non-default python path for your editor, you'll need to match that python's install location with the pip executable you're calling from the terminal.

    This is an issue because the Python extension's settings enable pylint by default. If you'd rather turn off linting, you can instead change this setting from true to false in your user or workspace settings:

    "python.linting.pylintEnabled": false
    

提交回复
热议问题