version check
$ conda -V
conda 3.7.0
update
conda update conda
create virtual env
conda create -n yourenvname python=x.x anaconda
activate
source activate yourenvname
install additional python packages
conda install -n yourenvname [package]
deactivate
source deactivate
remove virtual env
conda remove -n yourenvname --all
show all virtual env list
conda info --envsor
conda env list
anaconda uninstall
conda install anaconda-clean # install the package anaconda clean
anaconda-clean --yes # clean all anaconda related files and directories
rm -rf ~/anaconda3 # removes the entire anaconda directory
#rm -rf /user/username/anaconda3 or rm -rf /Users/username/anaconda3 rm -rf ~/.anaconda_backup # anaconda clean creates a back_up of files/dirs, remove it
# (conda list; cmd shouldn't respond after the clean up)
minianaconda install
bash Miniconda3-latest-MacOSX-x86_64.shhttps://conda.io/docs/user-guide/install/macos.html#install-macos-silent
No comments:
Post a Comment