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
- Open browser and enter url http://192.168.1.6:8890/
- Enter password
- Create a notebook directory inside home directory
- Create a notebook = finance
- Create cell and run, add run
References
- https://www.raspberrypi.org/forums/viewtopic.php?t=267204
- https://jupyter-notebook.readthedocs.io/en/stable/public_server.html
- https://riptutorial.com/pandas/example/6232/datareader-basic-example--yahoo-finance-
No comments:
Post a Comment