Anaconda完全卸载Jupyter/Jupyter Lab

完全卸载Jupyter

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
pip uninstall -y jupyter-packaging
pip uninstall -y jupyter-server

不要使用下面这个,很慢,而且不一定会成功,上面列出包的有可能有出入,其实核心方法就是一个一个卸载jupyter相关的安装包,可以根据实际安装情况进行卸载。

conda uninstall jupyter
pip uninstall jupyter

完全卸载Jupyter Lab

pip uninstall -y jupyterlab
pip uninstall -y jupyterlab-pygments
pip uninstall -y jupyter-console
pip uninstall -y jupyterlab-server
pip uninstall -y jupyterlab-widgets

此外,可能还得检查一下

卸载完顺便清理一下

conda clean -p      //删除没有用的包
conda clean -t      //删除tar包
conda clean -y --all //删除所有的安装包及cache

1、需要注意的是,命令执行完成后,最好进入C:/anaconda3/bin,以及C:/anaconda3/share这两个文件夹中看一看是否有jupyter开头的文件或文件夹残留,有的话直接删除掉。

2、还包括,以前设置的kernel,进入C:\Users\用户名\AppData\Roaming\jupyter,卸载干净,或者直接卸载这个文件夹

参考

https://www.csdn.net/tags/NtzaUg1sMDQ3MjMtYmxvZwO0O0OO0O0O.html

【问题原因和解决】jupyter 无法定位程序输入点 Anacond\libary\bin\pythoncom37.dll_白菜苗的博客-CSDN博客_jupyter无法定位程序输入点

(因为我也报错,jupyter 无法定位程序输入点 Anacond\libary\bin\pythoncom37.dll,所以找了这个教程,但是我最后还是选择了全部卸载重装,可以查看这个教程安装jupyter报这个错误的细节)

物联沃分享整理
物联沃-IOTWORD物联网 » Anaconda完全卸载Jupyter/Jupyter Lab

发表评论