Home > database >  How to set from command line "select interpreter" of "ms-python.python"?
How to set from command line "select interpreter" of "ms-python.python"?

Time:11-24

I have installed this extension. enter image description here

Is there any way I can set the select interpreter path from command line?

CodePudding user response:

You can set it through the file settings.json either in vscode user domain or in a vscode workspace .vscode path.

{
    //...
    "python.defaultInterpreterPath": "python" // the default path
}

If you want you could modify settings.json through commandline.

  • Related