Reputation: 320
While trying to set up Google Colab so I could access a ton of large jpgs for a CNN, I was running into problems. In my flustered state I tried to follow a now-forgotten website's advice. It did not work. But what did happen was now my terminal has two virtual environments (I think) listed one after the other. I'm on a macbook pro, using Zsh.
(firstEnv) (myenv) johndoe~$
I would prefer to revert back to having just my virtual environment
(firstEnv) johndoe~$
I tried:
conda deactivate myenv
but nothing changes
Upvotes: 2
Views: 2005
Reputation: 180103
If you've made non-persistent changes to your shell environment inside a Terminal window, then you can discard those changes by simply closing that window and opening a new one.
If persistent changes were made then they would have been effected by updating one or more files, (probably) in your home directory. For Zsh, these would be one or more of .zshenv
, .zprofile
, .zshrc
, and .zlogin
.
Upvotes: 1