Conda (package manager): Difference between revisions
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Install== | ==Install== | ||
Install either Anaconda or Miniconda | |||
===Miniconda=== | |||
Download Miniconda from [https://docs.conda.io/en/latest/miniconda.html https://docs.conda.io/en/latest/miniconda.html]. | |||
===Anaconda=== | |||
Download Anaconda from [https://www.anaconda.com/products/individual https://www.anaconda.com/products/individual]. | |||
===Add Anaconda to PATH=== | ===Add Anaconda to PATH=== | ||
If you didn't already add it to path on installation, run the following: | If you didn't already add it to path on installation, run the following: | ||
<pre> | <pre> | ||
echo ". $HOME/Anaconda3/etc/profile.d/conda.sh" >> ~/.bashrc | echo ". $HOME/Anaconda3/etc/profile.d/conda.sh" >> ~/.bashrc | ||
</pre> | |||
===Do not activate base=== | |||
By default, conda will always activate base. | |||
To disable this, run the following: | |||
<pre> | |||
conda config --set auto_activate_base false | |||
</pre> | </pre> | ||