Quantcast
Channel: Code Junction
Viewing all articles
Browse latest Browse all 116

Host personal Jupyter notebook on RPI server

$
0
0

Install


sudo apt-get install python3-numpy python3-pandas python3-matplotlib
sudo apt-get install jupyter-notebook

Configure jupyter notebook


jupyter-notebook --generate-config

c.NotebookApp.ip = '192.168.1.6'
c.NotebookApp.port = 8890
c.NotebookApp.allow_remote_access = True
c.NotebookApp.open_browser = False

Setup Password


jupyter notebook password

Install any additional python packages

pip install panda-datareader

Start jupyter notebook


jupyter notebook

Let's try

  1. Open browser and enter url http://192.168.1.6:8890/ 
  2. Enter password
  3. Create a notebook directory inside home directory
  4. Create a notebook = finance
  5. Create cell and run, add run


References

  1. https://www.raspberrypi.org/forums/viewtopic.php?t=267204
  2. https://jupyter-notebook.readthedocs.io/en/stable/public_server.html
  3. https://riptutorial.com/pandas/example/6232/datareader-basic-example--yahoo-finance-

Viewing all articles
Browse latest Browse all 116

Latest Images

Trending Articles





Latest Images