Linter pylint is not installed

前端 未结 15 1791
遥遥无期
遥遥无期 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条回答
  •  萌比男神i
    2020-12-12 13:17

    I also had this problem. If you also have Visual Studio installed with the Python extension, the system will want to use Studio's version of Python. Set the Environment Path to the version in Studio's Shared folder. For me, that was:

    C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\
    

    After that, run

    python -m pip install pylint
    

    from a command prompt with Administrator rights.

提交回复
热议问题