zoukankan      html  css  js  c++  java
  • 解决spyder、Jupyter Notebook 打不开

    参考

    https://blog.csdn.net/lanchunhui/article/details/72891918

    https://stackoverflow.com/questions/49141525/install-jupyter-notebook-on-miniconda

    打开Anaconda Prompt,输入命令:

    activate tensorflow
    Jupyter Notebook
    

     提示错误

    Traceback (most recent call last):
      File "D:Anaconda3Scriptsjupyter-Notebook-script.py", line 3, in <module>
        import notebook.notebookapp
      File "D:Anaconda3libsite-packages
    otebook
    otebookapp.py", line 32, in <module>
        ioloop.install()
      File "D:Anaconda3libsite-packageszmqeventloopioloop.py", line 195, in install
        assert (not ioloop.IOLoop.initialized()) or 
    AttributeError: type object 'IOLoop' has no attribute 'initialized'
    

     解决办法:

    pip uninstall tornado
    pip install tornado==4.5.3
    

     出现permissionerror,关闭所有与python有关的进程,重试,安装完成。

    重新打开Jupyter Notebook.

  • 相关阅读:
    记一次给自己的本子更换一个SSD盘
    喜欢的电影
    一个人没有出息的9大根源
    经典思维模式
    Linux基础入门教程
    XML
    UML
    Linux最常用的基础命令
    IP地址
    http协议
  • 原文地址:https://www.cnblogs.com/peony-jing/p/8747394.html
Copyright © 2011-2022 走看看