Skip to content

vscode bug : python.setinterpreter not found #15146

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

Closed
Julius-ZCJ opened this issue Jan 14, 2021 · 3 comments
Closed

vscode bug : python.setinterpreter not found #15146

Julius-ZCJ opened this issue Jan 14, 2021 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@Julius-ZCJ
Copy link

Environment data

  • VS Code version: VSCodeUserSetup-x64-1.52.1.exe
  • Extension version (available under the Extensions sidebar): ms-python.python-2020.12.424452561
  • OS and version: win10
  • Python version (& distribution if applicable, e.g. Anaconda): python3.8
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): not use
  • Relevant/affected Python packages and their versions: no packages
  • Relevant/affected Python-related VS Code extensions and their versions: no have
  • Value of the python.languageServer setting: Jedi
    [NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]

I got a error, when I want to select my python env : python.setinterpreter not found
here is my setting:
{
"python.terminal.activateEnvInCurrentTerminal": true,
"python.pythonPath": "xxxxx\Python\Python38\python.exe",
"workbench.startupEditor": "welcomePage",
"python.autoComplete.extraPaths": [

],

}

my computer is not connect to internet, so I install all of these off-line. I not install any other software, just only vscode and python. no anaconda, no C++ compile env, no .NET env. Do we need any env to install vscode? By the why, I use the same install bar install in my other computer is ok, here is setting:

{
"python.pythonPath": "xxxx\Anaconda3\envs\tensorflow",
"jupyter.searchForJupyter": false
}

I don't know why same bar on different computer result is different, I try some why to fix this error but I'm failed, I also find the same error in #12072, #568 ..., but it's not for me

Have someone can help me fix this error

@Julius-ZCJ Julius-ZCJ added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Jan 14, 2021
@Julius-ZCJ
Copy link
Author

I found in my success install computer when I install python plug, it always install Jupyter, is Jupyter necessary? I only install python plug, no others, is ok?

@karthiknadig
Copy link
Member

@Julius-ZCJ For now you will have to install ms-toolsai.jupyter is required. If you are installing the extension manually or if you are in offline only scenario.

@karthiknadig karthiknadig self-assigned this Jan 14, 2021
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jan 14, 2021
@Julius-ZCJ
Copy link
Author

Thank you for your reply, now I can use python in vscode, I fix this error

@ghost ghost removed the triage label Jan 15, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants