Skip to content

env manager doesn't find nested venv #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
eleanorjboyd opened this issue Dec 3, 2024 · 1 comment
Closed

env manager doesn't find nested venv #56

eleanorjboyd opened this issue Dec 3, 2024 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@eleanorjboyd
Copy link
Member

Testing #24503

This is a strange edge case but I have a .venv nested in my folder structure (/Users/eleanorboyd/testingFiles/python-ext-tester/python-testing/inc-dec-workspace/.venv) and the env manager doesn't find it

Image

logs

2024-12-03 11:13:00.398 [info] Discovered env: /Users/eleanorboyd/testingFiles/python-ext-tester/.venv/bin/python
2024-12-03 11:13:00.398 [info] Locator GlobalVirtualEnvs took 208ns
2024-12-03 11:13:00.398 [info] Locator Locators took 292ns
2024-12-03 11:13:00.398 [info] Locator Path took 167ns
2024-12-03 11:13:00.399 [info] Locator Workspaces took 825.709µs
2024-12-03 11:13:00.399 [info] Found venv environment: .venv (3.11.10)
2024-12-03 11:13:00.400 [info] Telemetry:  {"event":"RefreshPerformance","data":{"refreshPerformance":{"total":0,"breakdown":{"GlobalVirtualEnvs":0,"Locators":0,"Path":0,"Workspaces":0},"locators":{}}}}
2024-12-03 11:13:07.767 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.767 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.771 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.771 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.771 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.771 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.774 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.774 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.775 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.775 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.776 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.776 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.778 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.778 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.779 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.779 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.780 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.780 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.781 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.781 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.785 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.785 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.786 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.786 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.790 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.790 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.790 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.790 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.792 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.792 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.792 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.792 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.828 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.828 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.828 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.828 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.829 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.829 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.829 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.829 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.872 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.872 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.873 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.873 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3
2024-12-03 11:13:07.873 [info] Checking Global (ms-python.python:system) for /opt/homebrew/bin/python3
2024-12-03 11:13:07.873 [info] Using Global (ms-python.python:system) to handle /opt/homebrew/bin/python3

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Dec 4, 2024
@karthiknadig karthiknadig added this to the January 2025 milestone Dec 16, 2024
@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Dec 16, 2024
@karthiknadig
Copy link
Member

You need to add inc-dec-workspace as a project and then it will detect it.

@karthiknadig karthiknadig closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants