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
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