From 93bf00f613eac1fa994491f6063c07ffc3956b79 Mon Sep 17 00:00:00 2001 From: John Poole Date: Wed, 29 Apr 2026 12:57:30 -0700 Subject: [PATCH] Added Jupyter install steps --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/README.md b/README.md index 9350509..6488b71 100644 --- a/README.md +++ b/README.md @@ -28,3 +28,40 @@ V = mag_cal.getV(); B = mag_cal.getB(); incl = mag_cal.getInclination(); ``` +## Installing Jupyter +### Setting up Jupyer + + # upgrade packaging tools + python -m pip install --upgrade pip setuptools wheel + + # install JupyterLab and classic notebook support + python -m pip install jupyterlab notebook ipykernel + + # Register this environment as a Jupyter kernel + # you need to use your Python environment, e.g. "pioenv" or "rnsenv" + python -m ipykernel install \ + --user \ + --name pioenv \ + --display-name "Python ~/rnsenv" + +#### Example: + + (rnsenv) jlpoole@jp /usr/local/src/Magnetometer_Calibration $ python -m ipykernel install \ + --user \ + --name pioenv \ + --display-name "Python ~/rnsenv" + Installed kernelspec pioenv in /home/jlpoole/.local/share/jupyter/kernels/pioenv + (rnsenv) jlpoole@jp /usr/local/src/Magnetometer_Calibration $ + + +### Modules: + + pip install numpy pandas matplotlib pyserial cobs msgpack + pip install --upgrade ipywidgets jupyterlab_widgets widgetsnbextension ipympl + +### Restart Jupyter if already running + +### Start the Jupyter lab: + + jupyter lab + # The above will open a tab in your current browser \ No newline at end of file