Added Jupyter install steps

This commit is contained in:
John Poole 2026-04-29 12:57:30 -07:00
commit 93bf00f613

View file

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