{% include JB/setup %}
sudo easy_install pip brew install openssl graphviz
sudo pip install --upgrade pip sudo pip install virtualenvwrapper --ignore-installed six
curl https://d3kbcqa49mib13.cloudfront.net/spark-2.1.1-bin-hadoop2.6.tgz -o /tmp/spark-2.1.1-bin-hadoop2.6.tgz sudo tar -xf /tmp/spark-2.1.1-bin-hadoop2.6.tgz -C /opt/ sudo ln -s /opt/spark-2.1.1-bin-hadoop2.6 /opt/spark echo "export SPARK_HOME=/opt/spark" >> $HOME/.bash_profile
If you do not have /opt directory created, before unpacking spark, run:
sudo mkdir /opt
echo "export WORKON_HOME=$HOME/.virtualenvs" >> $HOME/.bash_profile echo "export MARVIN_HOME=$HOME/marvin" >> $HOME/.bash_profile echo "export MARVIN_DATA_PATH=$HOME/marvin/data" >> $HOME/.bash_profile echo "source virtualenvwrapper.sh" >> $HOME/.bash_profile source ~/.bash_profile
mkvirtualenv python-toolbox-env setvirtualenvproject pip install marvin-python-toolbox
marvin