Added Jupyter install steps
This commit is contained in:
parent
9163a51fe3
commit
93bf00f613
1 changed files with 37 additions and 0 deletions
37
README.md
37
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue