lang/python/ AnacondaStuff1
Initial setup
Anaconda setup writes a few lines to your .zshrc
(mac) or .bashrc
(linux). I prefer to move these to a file named $HOME/bin/conda_stuff
(with $HOME/bin
in my PATH
) so that it doesn't run by default, but rather I can switch it on by typing merely:
$ . conda_stuff
Creating an environment
conda create --name py310a python=3.10
conda create --name py39a python=3.9
Activating an environment
conda activate py310a
Deactivating an environment
conda deactivate