-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Unable to set Python Interpreter - Error command 'python.setInterpreter' not found #568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please could you try disabling all except this extension and trying once again. The extension isn't loading for some reason. |
I encountered this problem just a few min ago as well but could not find which extension is interfering. A simple reinstall fixed the problem though, at least temporarily. |
I'm closing this issue due to inactivity. If you are still able to replicate this issue, then please |
Can (currently) recreate. No error when disabling all other extensions. |
@spipes can you include the information we request in the issue template? |
Environment dataVS Code version: 1.19.3 Actual behavior[As above] Expected behaviorSteps to reproduce:[As above] LogsOutput from
|
@spipes |
No. |
Ok, looks like we have an extension out there that's causing the python extension to fall over. Please could you provide a list of the extensions installed. Easiest way to do this is to go into the 'Report an issue' command from the command palette. That'll create an issue on GitHub and prepoulate the list of extensions for you, copy that into this issue. |
Python and Visual Studio Code Tools for AI are enabled. If I disable the latter, the problem goes away. |
Please could yo ensure you have the latest versions of both extensions. |
The problem is with the I'm closing this issue as the problem lies with the other (AI) extension. |
I am on windows machine, I upgraded to the latest version and this problem started to appear. I uninstalled all other extensions except python and when I am pressing Ctrl + Shift + P, and then selecting the "Python: Select Interpreter" command I get: Error command 'python.setInterpreter' not found |
@hargikas please open a new issue |
I am using 1.21.0 on debian machine. Reinstallation or reset did not help. |
If people have issues with the automatic updating then please completely uninstall the Python extension, close VS Code, open it again, and then try installing the extension. If that doesn't work then please open a new issue. |
Environment data
VS Code version: Version 1.20.0-insider (1.20.0-insider), f4ed56b
Python Extension version: 0.9.1
Python Version: 2.7.10
OS and version: OSX 10.12.6
Actual behavior
Pressing Command + Shift + P, and then selecting the "Python: Select Interpreter" command
Error message appears at top:
Expected behavior
The "Python: Select Interpreter" should allow you to pick a Python interpreter, rather than returning an error message.
Steps to reproduce:
Logs
Output from
Python
output panelI'm not sure where this Python output panel is?
Output from
Console window
(Help->Developer Tools menu)I have tried uninstalling and reinstalling both VSCode Insiders, as well as the Python extension.
I saw this similar issue - https://github.com/DonJayamanne/pythonVSCode/issues/1394 - but reinstalling didn't fix it in this instance, and no explanation was given on that issue of the underlying issue.
The text was updated successfully, but these errors were encountered: