Created
July 9, 2020 12:44
-
-
Save ericmjl/1b2834c92684d7d6445a64544256a48a to your computer and use it in GitHub Desktop.
A script to install Anaconda on a new system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from https://github.com/ericmjl/dotfiles/blob/master/install_functions.sh | |
function install_anaconda { | |
bash anaconda.sh -b -p $HOME/anaconda | |
rm anaconda.sh | |
export PATH=$HOME/anaconda/bin:$PATH | |
# Install basic data science stack into default environment | |
conda install --yes pandas scipy numpy matplotlib seaborn jupyter ipykernel nodejs | |
jupyter notebook --generate-config | |
# We are done at this point, move on. | |
echo "anaconda successfully installed. moving on..." | |
} | |
# Taken from https://github.com/ericmjl/dotfiles/blob/master/install.sh#L108 | |
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O anaconda.sh | |
install_anaconda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment