这里统一用pip,若是pip3请自行改正
尝试了两种命令:
python -m pip uninstall jupyter
pip uninstall jupyter
结果是一样的,只是卸载了一小部分包,还有一堆残留。。
据说有这种神奇的方法:
$ pip install pip-autoremove $ pip-autoremove jupyter -y
然后至少对我没用:-(,最后只能这样了:
pip uninstall -y jupyter
pip uninstall -y jupyter_core
pip uninstall -y jupyter-client
pip uninstall -y jupyter-console
pip uninstall -y notebook
pip uninstall -y qtconsole
pip uninstall -y nbconvert
pip uninstall -y nbformat