Skip to content

VS Code failed to resovle the correct Python path #24624

@wyatt-wong

Description

@wyatt-wong

Discussed in #24610

Originally posted by wyatt-wong December 16, 2024
I have installed the Python and Jupyter extensions from Microsoft, but everytime when I create a new Jupyter notebook or opened an existing Jupyter notebook, I found that VS Code was stuck in executing "Reactivating terminals" and it is finding the old version of Python 3.13.0 as follows:

[error] sendStartupTelemetry() failed. l [Error]: Failed to resolve env "/Users/wyattwong/.pyenv/versions/3.13.0/bin/python"

I checked the Default Interpreter Path is pointing to /Users/wyattwong/.pyenv/versions/venv/bin/python

Screenshot 2024-12-16 at 11 47 24 PM

I checked the /Users/wyattwong/.pyenv/versions/venv/bin/python is already pointing to the correct Python version 3.13.1.

Screenshot 2024-12-16 at 11 48 57 PM

How do I fix this issue ?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions