command 'python.setInterpreter' not found
See original GitHub issueIn a new environment, and with the ms-python.python-2020.6.88468 extension, when selecting the pyhton interpreter I get this error:
Command 'Python: Select Interpreter' resulted in an error (command 'python.setInterpreter' not found)
- Web Browser: Edge 84.0.522.20
- Local OS: Windows 10
- Remote OS: Ubuntu 18 LTS
- Remote Architecture: x64
code-server --version
: 3.4.1- Python 2.7 & Python 3.6
Logs:
[2020-06-19 11:55:18.245] [exthost] [info] ExtensionService#_doActivateExtension ms-python.python {"startup":false,"extensionId":{"value":"ms-python.python","_lower":"ms-python.python"},"activationEvent":"onCommand:python.setInterpreter"}
[2020-06-19 11:55:18.245] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/code/.local/share/code-server/extensions/ms-python.python-2020.6.88468/out/client/extension
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
command 'python.setInterpreter' not found · Issue #14959
Command 'Python: Select Interpreter' resulted in an error (command 'python.setInterpreter' not found) So I cannot run any python scripts ...
Read more >Python select interpreter not found VS Code
Just click on the restricted window on the bottom and just select "Trust" in the pop up window. [https://code.visualstudio.com/docs/editor/ ...
Read more >what is "command 'python.setInterpreter' not found" error(i ...
I hav the same problem, tried to install/reinstall vscode and deleted .vscode folder but nothing works. UPDATE: Just found a temp solution: ...
Read more >Using Python environments in VS Code
Configuring Python Environments in Visual Studio Code. ... If one is found, then no other interpreters are searched for or listed as pipenv...
Read more >[ VSCode ]command 'python.setInterpreter' not found
家人们我又来排坑了. 用vscode连接远程服务器,没办法选择python解释器,用CTRL+shift+p:. 在这里插入图片描述 点击第一个会报错:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, first you have to change the option to automatically update the extensions, otherwise it will go to the latest version again.
Then uninstall the extension and proceed to install it manually from the file.
You can download the version from here https://github.com/microsoft/vscode-python/releases/tag/2020.5.86806
@syci I was having the same problem. Solved it by rolling the python extension back to 2020.5.86806