Osgeolive-jupyter

Focal Notes
$ jupyter --version jupyter core    : 4.6.3 jupyter-notebook : 6.0.3 qtconsole       : not installed ipython         : 7.13.0 ipykernel       : 5.2.0 jupyter client  : 6.1.2 jupyter lab     : not installed nbconvert       : 5.6.1 ipywidgets      : 6.0.0 nbformat        : 5.0.4 traitlets       : 4.3.3

dbb@focalk:~$ ipython3 Python 3.8.10 (default, Nov 26 2021, 20:14:08) Type 'copyright', 'credits' or 'license' for more information IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import sklearn In [2]: from sklearn import show_versions In [3]: show_versions

System: python: 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0] executable: /usr/bin/python3 machine: Linux-5.13.0-30-generic-x86_64-with-glibc2.29

Python dependencies: pip: 20.0.2 setuptools: 45.2.0 sklearn: 1.0.2 numpy: 1.17.4 scipy: 1.3.3 Cython: 0.29.14 pandas: 0.25.3     <== a weak spot in this setup matplotlib: 3.1.2 joblib: 1.1.0 threadpoolctl: 3.1.0

Built with OpenMP: True -- dbb@focalk:~$ jupyter --paths config: /home/dbb/.jupyter /usr/local/etc/jupyter /etc/jupyter data: /home/dbb/.local/share/jupyter /usr/local/share/jupyter /usr/share/jupyter runtime: /home/dbb/.local/share/jupyter/runtime --

Focal Setup Steps
591 sudo apt install python3-dev python3-pip

405 sudo apt install ipython3 python3-pandas python3-scipy 408 sudo apt install r-cran-sf 429 sudo apt install python3-shapely python3-fiona 614 sudo apt install --yes python3-geoalchemy2

670 sudo apt install --yes jupyter-core jupyter-client jupyter-console jupyter-nbformat jupyter-nbconvert jupyter-notebook python3-ipykernel 673 sudo apt install python-notebook-doc jupyter

605 pip install --user wheel 606 pip install --user lightgbm 616 pip install --user eo-learn 630 pip install --user folium

$ ./do_jupyter.sh
 * 1) !/bin/bash
 * 1) !/bin/bash

jupyter notebook --no-browser --ip=192.168.1.131 --notebook-dir=.jupyter/notebooks

~/.bashrc

PATH=$PATH:~/.local/bin

Focal APT Repos
dbb@focalk:/etc/apt$ cat sources.list
 * 1) Automatically generated by Calamares on 2022-01-02.
 * 2) Lines starting with "deb" are mandatory, while lines starting with "deb-src"
 * 3) are for more detailed package information.

deb http://ubuntu.osuosl.org/ubuntu/ focal main restricted deb-src http://ubuntu.osuosl.org/ubuntu/ focal main restricted
 * 1) See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
 * 2) newer versions of Lubuntu.


 * 1) Major bug fix updates produced after the final release of Lubuntu.
 * 2) Have you noticed a regression? Please report it!
 * 3) https://wiki.ubuntu.com/StableReleaseUpdates#Regressions

deb http://ubuntu.osuosl.org/ubuntu/ focal universe deb-src http://ubuntu.osuosl.org/ubuntu/ focal universe
 * 1) Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team.
 * 2) Also, please note that software in Universe WILL NOT receive any review or
 * 3) updates from the Ubuntu security team directly. Updates in this repository
 * 4) are provided by volunteers, but most come from Debian.


 * 1) Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team,
 * 2) and may not be under a free licence. Please satisfy yourself as your rights
 * 3) to use the software. Also, please note that software in Multiverse WILL NOT
 * 4) receive any review or updates from the Ubuntu security team directly.
 * 5) deb http://us.archive.ubuntu.com/ubuntu/ focal multiverse
 * 6) deb-src http://us.archive.ubuntu.com/ubuntu/ focal multiverse
 * 7) deb http://us.archive.ubuntu.com/ubuntu/ focal-updates multiverse
 * 8) deb-src http://us.archive.ubuntu.com/ubuntu/ focal-updates multiverse

deb http://security.ubuntu.com/ubuntu focal-security main restricted deb-src http://security.ubuntu.com/ubuntu focal-security main restricted deb http://security.ubuntu.com/ubuntu focal-security universe deb-src http://security.ubuntu.com/ubuntu focal-security universe deb http://security.ubuntu.com/ubuntu focal-security multiverse
 * 1) Software from this repository contains tested security updates from the
 * 2) Ubuntu security team.
 * 1) deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

deb http://ubuntu.osuosl.org/ubuntu/ focal-backports main restricted universe multiverse deb-src http://ubuntu.osuosl.org/ubuntu/ focal-backports main restricted universe multiverse
 * 1) Software from this repository may not have been tested as extensively as
 * 2) software contained in the main release, although it includes newer versions
 * 3) of some applications which may provide useful features. Also, please note
 * 4) that software in Backports WILL NOT receive any review or updates from the
 * 5) Ubuntu security team.


 * 1) Uncomment the following two lines to add software from Canonical's
 * 2) "partner" repository.
 * 3) This software is not part of Ubuntu, but is offered by Canonical and the
 * 4) respective vendors as a service to Ubuntu users.
 * 5) deb http://archive.canonical.com/ubuntu focal partner
 * 6) deb-src http://archive.canonical.com/ubuntu focal partner

-

dbb@focalk:/etc/apt$ cat sources.list.d/ubuntugis-ubuntu-ubuntugis-unstable-focal.list

deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu focal main deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu focal main