Introduction: Jupyter Notebook on Raspberry Pi

Picture of Jupyter Notebook on Raspberry Pi

About Jupyter Notebook

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, machine learning and much more.

Step 1: Installation

Type the following into the terminal:

sudo su -
apt-get update
apt-get install python3-matplotlib
apt-get install python3-scipy
pip3 install --upgrade pip
sudo pip3 install jupyter

The Raspberry Pi normally uses an memory card, called an SD card, just like the ones you might use in your digital camera. They don’t have as much space as a normal computer. Issue the following command to clean up the software packages that were downloaded in order to update your Raspberry Pi.

sudo apt-get clean

Recent versions of Raspian replaced the Epiphany web browser with Chromium (an open source version of the popular Chrome browser). Epiphany is much lighter than the heavier Chromium and works better with the tiny Raspberry Pi Zero. To set it as the default browser to be used later for the IPython notebooks issue the following command:

sudo update-alternatives --config x-www-browser

sudo reboot

Step 2: Testing

Picture of Testing

Start IPython by issuing the following command from the Terminal:



gerard_g (author)2017-12-06

I found why the buttons were missing. I didn't have any ipynb files. When I clicked new, the missing buttons showed up and the screen became editable.

Thank you.

gerard_g made it! (author)2017-11-26

Jupyter Notebook on Raspberry Pi

Thank you !!
I had made it though to the last step on my own using
under the section Starting Python in Linux and MacOS
$ jupyter notebook
Always failed
And you added a dash
pi@raspberrypi:~ $ jupyter-notebook
What a difference a dash makes !!
Would you please add Step 3 ?
I can’t figure out how to “run” in Raspberry Pi.
Please see attached:
Jupyter Notebook in Windows has more options and a row of command buttons that are missing in Jupyter Notebook in Raspberry Pi.
I suspect I need to find how to add options or maybe import widgets.



About This Instructable




Bio: I am a keen IoT inventor as a hobbyist in Sydney and very passionate about IoT and Algorithms such as MACHINE LEARNING, COMPUTATIONAL STATISTICS and ... More »
More by Stephen LEE:How to Install Node-RED on Jetson BoardsJupyter Notebook on Raspberry PiGoogle Tensorflow on Raspberry Pi
Add instructable to: