To install, do;
apt install jupyter-notebook
To launch in the /var/jupyterNotebooks directory, do;
cd /var/jupyterNotebooks && jupyter-notebook --ip=0.0.0.0
This will allow access to the server IP address on port 8888
The following will startup Jupyter in a sub dire 'NoteBooks' and can be closed by CTRL-C or by shutting down from the browser The QUIT button.
!#/bin/bash
echo "Starting Jupyter Notebooks..."
/usr/bin/jupyter-notebook --notebook-dir NoteBooks
To connect to MySQL we need to install PyMysql and this can be done by;
sudo python3 -m pip install PyMysql
also
sudo python3 -m pip install PyMysql[ed25519]
sudo python3 -m pip install PyMysql[rsa]
sudo python3 -m pip install PyMysql[ed25519]
sudo python3 -m pip install PyMysql[rsa]
and while we're at it, pandas is;
sudo python3 -m pip install pandas
No comments:
Post a Comment
Note: only a member of this blog may post a comment.