Last active
October 23, 2019 15:45
-
-
Save raveenb/ae0fc354cffc1e8f0f487a72f2d727b2 to your computer and use it in GitHub Desktop.
AWS SageMaker Setup to run things in parallel
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
#!/bin/bash | |
echo "> Activating Python3 Env" | |
source /home/ec2-user/anaconda3/bin/activate python3 | |
echo "> Updating Python to 3.7" | |
conda update -y conda | |
conda install -y python=3.7 | |
conda install -y pip | |
echo "> Updating Libraries" | |
pip install pandas numpy matplotlib ipython ipykernel notebook --upgrade | |
pip install boto3 flask joblib --upgrade | |
pip install loguru activityio --upgrade | |
echo "> Installing New Kernel" | |
python -m ipykernel install --name 'SuperCurie' --display-name 'SuperCurie96' --user | |
echo "> Activating Jupyter Env" | |
source /home/ec2-user/anaconda3/bin/activate JupyterSystemEnv | |
echo "> Installing Fonts in JupyterLab" | |
jupyter labextension install @deathbeds/jupyterlab-fonts | |
jupyter labextension install @deathbeds/jupyterlab-font-fira-code | |
jupyter labextension install @jupyterlab/statusbar | |
echo "> Killing Jupyter Server" | |
pkill -f jupyter-notebook | |
echo "> Close JupyterLab Browser and Start JuypterLab Again - Do not Restart Machine" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment