简体   繁体   中英

Installed pylint extension in vs code but it isn't identifying mistakes

Screenshot of what's enabled:

已启用内容的屏幕截图

I installed latest version of Python 3.9.4 and also checked it in command prompt it was working well. But as I installed VS Code and also the python extension and made a file in order to check pylint, but pylint is not working even I have enabled it as you can see in image, so what can I do now?

1.Make sure you've installed pylint to current selected interpreter.

Run pip show pylint to see if it's located in current environment.

2.Check if you set Jedi as "python.languageServer" .

Cause if I set Jedi on my machine, the linting won't work. It's recommended you install Pylance extension and in Settings.json set:

"python.languageServer": "Pylance"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM