-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test that UI indicates terminal activation when activating using environment variables #21298
Comments
This comment was marked as outdated.
This comment was marked as outdated.
pythonTerminalEnvVarActivation
experiment
pythonTerminalEnvVarActivation
experiment
This isn't working for me at all: After running Before I ran that, the environment never activated, but I get the notification: #21887 |
mine always says |
Yes you can ignore that for now. Please run the Python command specified to see which environment is actually activated. |
Me and Aaron discussed here that it actually works: #21887 (comment), but it was the same confusion that @eleanorjboyd has, which is that it always shows Sorry for the trouble. |
Is it standard for Python docs to be in a GH wiki. I'm wondering if this should be on the VS Code website so we can track things like page views? |
@lramos15 We have plans to move it there, but right now this is behind an experiment hence isn't applicable for everyone. |
@lramos15 Were you able to test for |
Oh I do not have those installed, do I need to install them for the TPI. I got confused by the wording |
Sorry, if you could install them that would be great. Our codespaces already has it pre-installed so you can also use that, thanks! |
Done 👍 |
Refs: #21793
Complexity: 5
Create Issue
Requirements
Similar to #21102 hence preassigning.
python -m venv <name>
to create virtual envs.PATH
during installation.conda init --all
& restart the shell.conda create -n <name> python -y
.Verification
Run
conda config --set auto_activate_base True
.Open a workspace folder and activate Python extension by opening a Python file.
Select a virtual environment using
Python: Select Interpreter
command.Loop -> Do the following for all terminal shell types:
(base)
: Active venv is activated in terminal but terminal indicates that(base)
is activated #21887):.venv
created viapython -m venv .venv
it looks something like:Terminal: Select Default Profile
, saybash
->fish
Select a conda environment using
Python: Select Interpreter
command and repeat the above loop.If the notification was visible at some point:
The text was updated successfully, but these errors were encountered: