Skip to content

Fails to load pyenv virtualenv's #658

@justinerickson

Description

@justinerickson

Repro steps:

  1. Setup pyenv virtualenv as your local .python-version for your project
  2. VS Code automatically installs Python Environments extension automatically as part of Python/Python Debugger auto update

Expected: VS Code continues to select the correct pyenv virtualenv per .python-version as before
Actual: VS Code fails to load the pyenv virtualenv

  1. Use Command Palette to go to Python: Select interpreter

Expected: My pyenv virtualenv is listed
Actual: pyenv virtualenv are missing from the environments list

Workaround:
4. Uninstall Python Environments extension and restart extension

Everything works as expected:

  • VS Code correctly selects pyenv virtualenv per .python-version as before
  • Python: Select interpreter correctly lists my pyenv virtualenv

Note:

  • This was quite frustrating to have this was automatically installed without notice. Especially since this is marked as Preview software so not ready for rollout. This took longer to debug/uninstall because I didn't know something was installed without my notice and I wasted time trying to rollback the wrong extensions.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugneeds PR

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions