You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
git clean in a python project triggers invalid python notification #1037
In this scenario there is an existing valid environment (created with a .gitignore in it). and performing git clean removes that environment. This causes python extension to detect that the environment has changed. Python extension then tries to look up info to get data on the environment. But there is no environment and that leads to invalid environment notification.
Activity
eleanorjboyd commentedon Dec 8, 2025
seems more relevant to the python environments extension now
eleanorjboyd commentedon Sep 30, 2026
updating as now the problem is more concretely "Deleting the selected venv with
git clean -fdxleaves stale interpreter selection"