5,434次阅读

# Select an Interpreter

The extension now exposes a command that will display a list of known (automatically discovered) interpreters. Selecting an item from this interpreter will automatically configure your workspace settings file settings.json to make use of this interpreter.
This now frees you from having to manually open the settings.json file and make the necessary changes.

How are the interpreters discovered?

• Standard paths such as /usr/local/bin, /usr/sbin, /sbin, C:\\Python2.7, etc. will be searched for interpreters
• Virtual environments located under the workspace (project) directory will be searched
• Conda environments will be listed

### How to use this feature?

• Select the command Python: Select Workspace Interpreter from the [command palette](https://code.visualstudio.com/docs/editor/codebasics#_command-palette)
• Upon selecting the above command a list of discovered interpreters will be displayed in a quick pick list
• Selecting an interpreter from this list will update the settings.json file automatically.

### Interpreter is not listed

If the interpreter you are looking for is not listed here, then please enter is manually using the instructions found here.

pylint问题

vscode中Python linter采用的pylint，不知道是默认的，还是我装了某些插件之后自动帮我改了。pylint有个问题是，警告特别多！一条条的绿色波浪线，对于一个强迫症患者来说，这很难忍，况且它还是绿色的！