forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Activate Environments in Terminal Using Environment Variables
Kartik Raj edited this page Aug 10, 2023
·
28 revisions
Python extension now activates selected environment in terminal without sending any activation commands (#11039). Traditionally, terminal prompts are generally used to indicate whether a Python env is currently activated in terminal:
However now, in some cases, the indicator might not be present at all. Nonetheless, please be assured that the environment is still activated.
Pro tips:
-
You can hover over the terminal tab to see which environment is currently activated in terminal:
-
Click "Show environment contributions" if you're interested in which specific environment variables were applied to activate this terminal: