简体   繁体   中英

Python: Select Interpreter command not found in vscode command palette

I have setup a project workspace folder, and I need to setup the interpreter but the command "Python: Select Interpreter" is not found.

I had that problem today. For me, it was a trust problem with the Python Package.

Go to the extensions and type @workspaceUnsupported in the extensions search box at the top of the extensions list.

My Python extension was in the RESTRICTED MODE list. I trusted the Python extensions and right away a popup showed with the Python: Select Interpreter command which showed me the list of available Python interpreters.

See this link for more information about trusting extensions: https://code.visualstudio.com/docs/editor/workspace-trust#_enabling-extensions

I had the same problem, I just installed the Python extension on the remote machine (ssh) and it worked for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM