Skip to content
Permalink
c2783adb67
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 24 lines (16 sloc) 580 Bytes
#!/bin/bash
if [ -r ./local.sh ] ; then
. ./local.sh
fi
echo "=== jupyterlab.sh Install and run JupyterLab locally"
echo "+++ installing jupyter"
python3 -m venv .venv
. .venv/bin/activate
ln -sfv /usr/lib/python3/dist-packages .venv/lib/python3.*/ # simulate VM behavior for apt-get install python3-rasterio
python3 -m pip install pip --upgrade
python3 -m pip install --upgrade jupyterlab
python3 -m pip install --upgrade bash_kernel
python3 -m bash_kernel.install
python3 -m pip install --upgrade jupyterlab-spellchecker
echo "+++ run jupyter"
jupyter-lab --port=8081