Fix pipenv shell auto activating in VS Code

Thought I’d post this simple solution wherein you activated a pipenv shell on python project inside vscode and upon opening another python project the same shell activates. CTRL+D or exit just quits the VS Code terminal.

The problem is that your python terminal setup could be set to auto activate.

Simply go to Settings in VS Code and search python.terminal disable the checkbox for Python > Terminal > Activate Environment.

Leave a Reply

Your email address will not be published. Required fields are marked *