1.安装ipython
apt -y install ipython
2.安装jupyter
pip3 install jupyter
3.创建user
useradd -M jupyter
4.把自己的kernal环境链接过去。
python -m ipykernel install --name tf2
5.重启终端。
6.打开
jupyter notebook
注意:因为debain10系统默认python3.0以上版本,所以不需要像之前系统那么繁琐。