Posts installing jupyter lab on the ubuntu 16.04
Post
Cancel

installing jupyter lab on the ubuntu 16.04

Install Anaconda

https://www.anaconda.com/download/#linux

1
2
3
$ wget https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.sh
$ ./Anaconda3-5.3.0-Linux-x86_64.sh
$ source ~/.bashrc

Create a virtual environment

1
2
3
4
$ conda create -n jupyter
$ vim ~/.bashrc
conda activate jupyter
$ source ~/.bashrc

Install python packages you need

1
2
3
$ conda install pandas
$ conda install scikit-learn
$ ...

Jupyter Configuration

https://jupyter-notebook.readthedocs.io/en/stable/public_server.html#running-a-public-notebook-server

1
2
$ jupyter notebook --generate-config
c.NotebookApp.ip = '0.0.0.0'

Install Jupyter Lab

https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html https://jupyterlab.readthedocs.io/en/stable/getting_started/starting.html https://bradford.la/2017/jupyter-lab-service

1
2
$ conda install -c conda-forge jupyterlab
$ jupyter lab
This post is licensed under CC BY 4.0 by the author.