Skip to content

Pyenv versions are incorrectly listsed #23659

@DonJayamanne

Description

@DonJayamanne

All virtual envs under pyenv have the wrong exes listed in the quickpick and python ext API.
The environments under envs are not the ones that should be used, they are internal.

E.g. helloworld virtual env should not be versions/3.9.9/envs/helloworld/bin/python,
instead it should be versions/helloworld/bin/python

Also in the terminal points to the one directly under versions and not in the envs directory

❯ pyenv shell helloworld
❯ python -c "import sys;print(sys.executable)"
/Users/donjayamanne/.pyenv/versions/helloworld/bin/python

Image

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugtriage-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