forked from jasongrout/jupyterlab-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.txt
45 lines (34 loc) · 1.45 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Create a new environment
conda create -y -n demo python=3 notebook pandas matplotlib scikit-image
source activate demo
# Install the environment kernel
ipython kernel install --name demo --display-name "Demo Python3" --sys-prefix
# Install jupyterlab
pip install jupyterlab==0.7.0
jupyter serverextension enable --sys-prefix jupyterlab
# Install the beta ipywidgets
pip install --pre widgetsnbextension==2.0.0b2
pip install --pre ipywidgets==6.0.0b2
jupyter nbextension enable widgetsnbextension --py --sys-prefix
# Install the jupyterlab widgets plugin
pip install jupyterlab_widgets==0.4.1
jupyter labextension install --sys-prefix --py jupyterlab_widgets
jupyter labextension enable jupyterlab_widgets --py --sys-prefix
# GeoJSON map viewer
pip install jupyterlab_geojson==0.2.0
jupyter labextension install --sys-prefix --py jupyterlab_geojson
jupyter labextension enable --sys-prefix --py jupyterlab_geojson
# Start up either the notebook or lab. Make sure to use the environment kernel in notebooks!
# jupyter notebook
# jupyter lab
# OPTIONAL
# bqplot
pip install bqplot
jupyter nbextension install --sys-prefix --py bqplot
jupyter nbextension enable --sys-prefix --py bqplot
# pythreejs
pip install pythreejs==0.2.3
jupyter nbextension install --sys-prefix --py --symlink pythreejs
jupyter nbextension enable --sys-prefix --py pythreejs
jupyter labextension install --sys-prefix --py --symlink pythreejs
jupyter labextension enable --sys-prefix --py pythreejs