简体   繁体   中英

VS Code : Linter Pylint Not Installed; pip install pylint not working

So I just started with Python in VS Code . I have installed Python 3.6.5, and the extension for Python on VS Code. But when I try to save my files, this appears在此处输入图片说明

So I do the pip install pylint command, but it does this: 在此处输入图片说明

Basically, what this means is that it does not recognise "pip" , how do I fix this? I've been searching for answer but I could not understand anything.

I would try this. Under the View menu select Command Palette. This opens up a window to enter VScode commands. In the command palette look for the command 'Python: Enable Linting'. This allows you to toggle between on or off for linting. Next look for 'Python: Select Linter' lets you chose pylint or another module for linting.

After setting these you should be good to go... And you should have the Python extension installed. The name is the one word: Python. pylint is installed with this extension. Your pip problem may be unrelated.

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