Setting up a data science stack on the VM
So, now we have a VM running and we're able to send files to it, connect to it, and modify it. Everything is ready for us to set it up for data science!
We will install the Python Miniconda stack from continuum, much smaller than the full Conda distribution. Do SSH into your instance.
- Install the mini
sudo apt-get update sudo apt-get install bzip2 wget
from https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh using the following command:
bash Miniconda2-latest-Linux-x86_64.sh
- And then install the Python stack with
conda
:
$ conda install scikit-learn pandas jupyter ipython
Don't forget to do this:
$ source .bashrc