一、安装jupyter
1.安装anaconda
- 下载安装包
wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
- 按照提示进行安装
bash Anaconda3-2020.02-Linux-x86_64.sh
- 安装完成之后要重启一下
2.用conda 安装jupyter notebook
conda install jupyter notebook
3.生成jupyter配置文件,使其可以外网访问
jupyter notebook --generate-config
- 这一步完成后,会告诉你生成文件的位置
- ubuntu 18.04 在 root/.jupyter/jupyter_notebook_config.py