VS Code’s Python extension auto‑activates environments in every new terminal.
If your interpreter comes from pyenv, this triggers pyenv automatically.
That’s why you see unexpected pyenv shell calls when opening terminals.
To disable this behavior, set "python.terminal.activateEnvironment": false in VS Code settings.
After that, terminals will stop auto‑activating pyenv.
Created
January 8, 2026 16:57
-
-
Save phoenixthrush/f348e85186ff78dc13bd20e28c59ae0e to your computer and use it in GitHub Desktop.
VS Code Keeps Triggering pyenv Automatically #pyenv #vscode #python
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment