自己的jupyter坏了出现jupyter python has stopped working,
研究很多关于卸载jupyter的桥段, 我都以执行失败告终, 包括官网的 uninstall all the reference packages...
image.png
我认为, 用 pip 不明智, 如上官网doc, 所以需要一个包一个包找很久才能做到all refernence package 被uninstalled,
python -m pip uninstall jupyter
pip uninstall jupyter jupyter_core jupyter-client jupyter-console notebook qtconsole nbconvert nbformat
或
pip install pip-autoremove
pip-autoremove jupyter -y
那么问题是, 我不能通过
conda uninstall jupyter lab
一样执行
conda uninstall noterbook
这个或许是因为默认的安装值被改变,那么只要恢复默认就可以:
jupyter notebook --generate-config
conda uninstall notebook
image.png
这里有个问题是如果其他环境也有jupyter,那么需要激活这个环境再执行uninstall, 激活环境并删除代码是:
activate my_env
conda uninstall notebook
如果此时再command p