Skip to content

Environment discovery is taking a VERY long time #1587

@rchiodo

Description

@rchiodo

I opened the code at https://github.com/pytorch/pytorch.git (after cloning it) and got this output in the enviroments extension:

2026-06-16 10:53:57.678 [warning] [Pipenv] Environment discovery took 199.2s (found 0 environments). If this is causing problems, please report it: https://github.com/microsoft/vscode-python-environments/issues/new
2026-06-16 10:54:52.264 [info] Refreshing poetry environments
2026-06-16 10:54:52.272 [warning] [Poetry] Environment discovery took 253.8s (found 0 environments). If this is causing problems, please report it: https://github.com/microsoft/vscode-python-environments/issues/new

I have 4 or 5 pythons installed on this machine and a single venv in the pytorch folder.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions