-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Miscellaneous
Don Jayamanne edited this page Sep 8, 2016
·
5 revisions
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
- 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.