Skip to content
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

There are two envs in terminal #22667

Closed
JerryPengNJ opened this issue Dec 17, 2023 Discussed in #22666 · 2 comments
Closed

There are two envs in terminal #22667

JerryPengNJ opened this issue Dec 17, 2023 Discussed in #22666 · 2 comments
Assignees
Labels
area-terminal info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@JerryPengNJ
Copy link

JerryPengNJ commented Dec 17, 2023

Discussed in #22666

Originally posted by JerryPengNJ December 17, 2023
In the picture, two environments are visible in the terminal: the first one is the Python interpreter, and the second one is "conda init."

It appears to be an unusual situation, and you might be wondering if it is a new feature in Visual Studio Code (VSCode) or if there is a way to resolve it.

image
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 17, 2023
@JerryPengNJ JerryPengNJ changed the title There are two envs in terminals There are two envs in terminal Dec 17, 2023
@JerryPengNJ JerryPengNJ reopened this Dec 17, 2023
@HaXAlvin
Copy link

I also face the same problem sometimes.
But I don't know when or how this happens.
I use conda deactivate manually to remove the first env prompt.

@karrtikr
Copy link

Hi everyone, the selected Python environment is activated on top of the existing environment. If you would like to not have the base environment activated, try running the following command and restarting all shells:

conda config --set auto_activate_base False

@karrtikr karrtikr closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2023
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-terminal info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

4 participants