最近jupyter 出现问题

尝试解决了一上午一直没找到决绝方法,准备卸载重装,先复制一篇教程

如有大佬知道问题所在,麻烦评论下,感谢感谢

 

  • 完全卸载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报这个错误的细节)

  • 参考:

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐