Home > Net >  In visual studio code how do I run the same python conda environment in a different folder
In visual studio code how do I run the same python conda environment in a different folder

Time:12-29

In visual studio code how do I run the same python conda environment in a different folder, assuuming this possible?

CodePudding user response:

Ctrl Shift P ==> Python:Select Interpreter

enter image description here

Select the interpreter for the working environment. The lower right corner of VSCODE will display the interpreter version of the current selection.

enter image description here

You can choose to use the Conda environment interpreter in different working areas.

You can also add the following settings to setin

    "python.defaultInterpreterPath": "path/to/python.exe",
  • Related