0

I want to use a custom python interpreter, which you can do by adding to python.pythonPath, as seen in the image below. However, I thought that there would be an option so that I could add an interpreter to the list of available interpreters that you can see in the below, so that I can easily switch between them, without the need to go rooting around in my user/workspace/folder settings.

Is there any way to add to the list as opposed to using python.pythonPath to override what is currently shown in the bottom left?

enter image description here

CypherX
  • 7,019
  • 3
  • 25
  • 37
Anti-Distinctlyminty
  • 2,615
  • 5
  • 22
  • 24

2 Answers2

1

The extension searches in certain places for interpreters like PATH and in places where you say to look for virtual environments. If you can get your interpreter to show up in one of those places then it will show up in the list. Otherwise what you're asking for isn't currently available (although you could open a feature request at https://github.com/microsoft/vscode-python if you want).

Brett Cannon
  • 14,438
  • 3
  • 45
  • 40
0

After closing and reopening vscode the interpreter is now shown.

Anti-Distinctlyminty
  • 2,615
  • 5
  • 22
  • 24