Jupyter Notebook on Raspberry Pi

Introduction: Jupyter Notebook on Raspberry Pi

About: 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 so on. Also, I have spent almost every day of the past 15 ...

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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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
reboot
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

Start IPython by issuing the following command from the Terminal:

jupyter-notebook

3 People Made This Project!

Recommendations

  • Trash to Treasure Contest

    Trash to Treasure Contest
  • Raspberry Pi Contest 2020

    Raspberry Pi Contest 2020
  • Wearables Contest

    Wearables Contest

9 Discussions

0
urowietu
urowietu

7 months ago on Introduction

Fantastic.

I had been mucking about for ages and this sorted it right out. Now I can properly code on the move.

Beauty.

0
FranciscoB32
FranciscoB32

Question 1 year ago

I'd like to install numpy. How should I proceed? Thank you.

0
paulolange
paulolange

Answer 1 year ago

pip install numpy

0
wei彥
wei彥

1 year ago

How to set if you want to use putty under windown

I used the previous IPyter method but the settings look different.

0
JorgeA236
JorgeA236

Question 2 years ago

hi,
I try to run yolo in realtime on my laptop, macbook mid 2012 coreI5, but is very slow, the fps and recognition, any 5 second change the image, and i saw some people run yolo on devices like you, raspberry pi, the cpu is very low than my cpu, how do this posible.

0
gerard_g
gerard_g

2 years ago

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.