jupyter notebook python已停止工作_jupyter python has stopped working.如何卸载Jupyter notebook?如何安装Jupyter not...

当遇到Jupyter Notebook运行错误提示'jupyter python has stopped working'时,可以通过卸载再重新安装来解决。卸载需分别尝试使用conda和pip,确保所有相关包都被移除。在卸载后,激活特定环境并执行conda uninstall notebook,接着使用pip卸载剩余的Jupyter相关包。如果问题依旧,检查pip3安装的包,更新conda或者完全卸载conda后再用pip卸载。最后,通过conda安装Jupyterlab和Notebook进行重装。
摘要由CSDN通过智能技术生成

自己的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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值