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

Use of set env_prompt needs more explanations #73

Open
SarahAlidoost opened this issue Aug 9, 2021 · 1 comment
Open

Use of set env_prompt needs more explanations #73

SarahAlidoost opened this issue Aug 9, 2021 · 1 comment

Comments

@SarahAlidoost
Copy link

In Episode 02, it is shown how to modify the env_prompt setting in the .condarc file, following the command conda config --set env_prompt '({name})'. It would be useful to add some explanations about:

  • the argument "name" inside the command shouldn't be replaced by the environment name.
  • if users open the terminal after running this command, they would see the "anaconda3" instead of “base” on the left side of prompt because (for example in my case on linux) the “base” is located in this path ~/anaconda3.
  • one way to fix the problem above is to remove the ~/.condarc file.
@carmengg
Copy link

+1

I updated the name argument thinking it referred to the name I wanted to give the environment and it resulted in some scary error messages. I could not activate any environment. As @SarahAlidoost mentioned, this was fixed by deleting the ~/.condarc file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants