Shell scripts are
bash
Install XQuartz
Install the Apple Command Line Tools:
xcode-select --install
Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install packages:
brew install wget curl
Install Anaconda 3. To get the default working environment (recommended), answer yes
to all questions when asked:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
chmod +x Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh
IMPORTANT: At this point close and re-open your current shell for changes to take effect.
Do not activate the base environment by default (optional):
conda config --set auto_activate_base false
Create a tropess
Anaconda environment:
conda create --prefix ~/.conda/envs/tropess
Update .bash_profile
to activate the tropess
environment by default when you login into bash
(optional):
cat << EOT >> ~/.bash_profile
# Activate the tropess environment by default when you login
conda activate tropess
EOT
Install the following Anaconda packages:
conda install --channel anaconda python pip
Test:
python --version
Just for your information
To activate:
conda activate tropess
To deactivate:
conda deactivate
If you ever decide to remove it:
conda env remove --name tropess