forked from jasongrout/jupyterlab-demo
/
INSTALL.txt
56 lines (42 loc) · 1.79 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
46
47
48
49
50
51
52
53
54
55
56
# 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
# dask
conda install -c conda-forge -c bokeh dask distributed bokeh
pip install dask-labextensions
jupyter labextension install --symlink --py --sys-prefix dask_labextension
jupyter labextension enable --py --sys-prefix dask_labextension
# graphviz (for dask)
brew install graphviz
pip install graphviz # conda install graphviz doesn't seem to work