卸载jupyter notebook 重新安装

最近jupyter note book总是出现各种问题,干脆直接重新安装来的简单。

1、彻底卸载jupyter note book

注意:
使用pip uninstall jupyter是卸不掉jupyter的。
需要使用如下命令卸载 jupyter:

pip install pip-autoremove
pip-autoremove jupyter -y

在这里插入图片描述

2、重新安装jupyter notebook

pip3 install --upgrade --force-reinstall --no-cache-dir jupyter

重新安装PyPi中的所有内容
在这里插入图片描述
就能正常使用jupyter notebook了


版权声明:本文为qq_45154565原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。