layout: page title: Installation description: Project Community Page group: nav-right

{% include JB/setup %}

Installing Toolbox as Ubuntu user

  1. Toolbox will need some OS dependencies
sudo apt-get install libsasl2-dev python-pip graphviz -y
  1. We strongly recommend the use of VirtualEnv and VirtualEnvWrapper
sudo pip install --upgrade pip
sudo pip install virtualenvwrapper --ignore-installed six
  1. Spark installation (Optional)
curl -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
  1. Marvin uses dafault values for these environment variables, but you can customize them (Optional)
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" >> $HOME/.bash_profile
source ~/.bash_profile
  1. Install python-toolbox
mkvirtualenv python-toolbox-env
pip install marvin-python-toolbox
  1. Test the installation
  1. Youtube tutorial

Python Toolbox Install