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
VS Code cannot activate Python virtual environments outside the workspace #25649
Can you update Python extension, Python environment extension to latest and see if you can still repro?
Also add "python.useEnvironmentsExtension": true, to your settings.json.
Activity
anthonykim1 commentedon Dec 11, 2025
I see pyenv not detected on your interpreter path. Maybe try environment extension to see if that picks it up.
It will probably activate once extension discovers your venv.
Try install https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-python-envs
Can you update Python extension, Python environment extension to latest and see if you can still repro?
Also add
"python.useEnvironmentsExtension": true,to your settings.json.Please file issue on https://github.com/microsoft/vscode-python-environments/issues if you see problem again,