Last active
February 27, 2019 04:35
-
-
Save pacuna/896a0434a109021dd673d5e66193eca8 to your computer and use it in GitHub Desktop.
script
This file contains hidden or 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
set -x | |
echo 'export PATH="/opt/conda/bin:$PATH"' >> ~/.bashrc | |
sudo apt-get update --fix-missing && sudo apt-get install -y wget bzip2 ca-certificates \ | |
libglib2.0-0 libxext6 libsm6 libxrender1 git | |
wget --quiet https://repo.anaconda.com/archive/Anaconda3-2018.12-Linux-x86_64.sh -O ~/anaconda.sh && \ | |
sudo /bin/bash ~/anaconda.sh -b -p /opt/conda && \ | |
rm ~/anaconda.sh && \ | |
sudo ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \ | |
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \ | |
echo "conda activate base" >> ~/.bashrc | |
. /opt/conda/etc/profile.d/conda.sh | |
conda activate base | |
source ~/.bashrc | |
conda update -n base -c defaults conda --yes | |
conda install -c anaconda pandas --yes | |
conda install -c conda-forge black jupyterlab --yes | |
pip install xgboost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment