Skip to content

notification was needed to select the right env #19897

@meganrogge

Description

@meganrogge

Testing #19883

My python3 is installed at /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.

When I ran the command, it couldn't find any installations and had automatically selected python 2, which was not working

Python interpreter path: ~/.pyenv/versions/2.7.18/bin/python
> ~/.pyenv/versions/2.7.18/bin/python ~/.vscode-insiders/extensions/ms-python.python-2022.15.12701023/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2022.15.12701023/pythonFiles/interpreterInfo.py
Starting Pylance language server.
[ERROR 2022-8-27 12:25:58.598]: Virtual env creation requires an interpreter.
Running Env creation script:  [
  '/Library/Frameworks/Python.framework/Versions/3.9/bin/python3',
  '/Users/meganrogge/.vscode-insiders/extensions/ms-python.python-2022.15.12701023/pythonFiles/create_venv.py',
  '--git-ignore',
  '--install'
]

Knowing I had installed python3, and had aliased it to python, I found the path of python3 and inserted it into the input box. The logs show that it succeeded after that.

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions