激活juoyter notebook的安装环境
conda activate prod
执行以下命令安装
pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple
jupyter contrib nbextension install --user
pip install jupyter_nbextensions_configurator -i https://pypi.tuna.tsinghua.edu.cn/simple
jupyter nbextensions_configurator enable --user
重启juoyter notebook
# 我这里设置了服务,使用以下命令就能重启
systemctl stop jupyter
systemctl start jupyter