'Delete env variable on mac
enter image description hereI need help, I don't arrive to delete env variable with unset.
I want to delete conda env variable: I use unset:
I look to env variable:
I close the terminal and I open it again, here is what I have in my env variable.
Thank you very much.
Solution 1:[1]
The Anaconda Python distribution is setting the environment variable on shell startup. You need to find that and remove that. Usually, these may reside in .bashrc, .cshrc, .zshrc, .profile, /etc/profile
and so on. If you unset them in console then it will be set again next time you start a shell. That is also true for another tab in terminal in mac os as it starts a new zsh shell.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Shiv |