Machine Learning & Big Data Blog

Installing Jupyter for Big Data and Analytics

Walker Rowe
2 minute read
Walker Rowe

Jupyter and Zeppelin both provide an interactive Python, Scala, Spark, etc. interpreter. Plus they do what the command line cannot, which is support graphical output with graphing packages like matplotlib.

While I personally prefer Zeppelin, it seems more data scientists and big data engineers are using Jupyter (aka iPython). For example most of the interactive blog posts on are published using Jupyter. Another advantage is that when you push Zeppelin notebooks to they are stored as JSON files. Github is not able to display that in an easy-to-read format. But Github can display Jupyter notebooks, because it can understand and render the Jupyter .ipynb format.

Installing Jupyter

Zeppelin is easy to install as well. You just download it and unzip it. But the Jupyter installation might even be simpler.

As with all things Python, you should set up Jupyter using a virtual environment. That means virtualenv or Anaconda. Jupyter recommends using Anaconda, but I prefer virtualenv because I have found that it is easier to install TensorFlow and Keras with that.

So the first step is to install virtualenv.:

sudo pip3 install -U virtualenv

Install Python3.4, as that version works with TensorFlow and Keras (So do other versions of Python, but the instructions here have been tested with that.). On Mac this is made easier with:

brew install pyenv
export PYENV_ROOT=/usr/local/var/pyenv
pyenv install 3.4.4

Make a link to that so that virtualenv can find it:

ln -s /usr/local/var/pyenv/versions/3.4.4/bin/python3 /usr/bin/python3

Then create the Python3.4 environment:

virtualenv -p python3.4 py34

Then activate it with:

source py34/bin/activate

Then launch it with:

jupyter notebook

If it reports that Jupyter is not found then use:

python py34/lib/python3.4/site-packages/ notebook

It should open Jupyter in the browser at:


Installing TensorFlow and Keras

Now, you would want to use pip to install TensorFlow and Keras so that you can do something useful with Jupyter. You will also want Pandas, Numpy, etc. Then those will be in scope and available when you run the jupyter notebook command.

pip install --upgrade tensorflow
pip install keras

Wikibon: Automate your Big Data pipeline

Learn how data management experts throughout the industry are transforming their Big Data infrastructure for maximum business impact.
Download Now ›

These postings are my own and do not necessarily represent BMC's position, strategies, or opinion.

See an error or have a suggestion? Please let us know by emailing

About the author

Walker Rowe

Walker Rowe

Walker Rowe is a freelance tech writer and programmer. He specializes in big data, analytics, and programming languages. Find him on LinkedIn or Upwork.