Skip to content

Environment discovery is taking a VERY long time #1587

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.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions