jupyter-notebook,ImportError:无法导入名称“ Type”

小泉一郎

我是Windows用户,并且已经在计算机上安装了Python 3.6。为了使用Jupyter笔记本,我下载了atom。我已经安装了ipython和pandas。jupyter notebook命令行中输入命令后,我的浏览器没有打开jupyter笔记本,而是显示以下错误消息:

[C:\Users\ELIDAD>jupyter notebook
Traceback (most recent call last):
  File "c:\users\elidad\appdata\local\programs\python\python35\lib\runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\elidad\appdata\local\programs\python\python35\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\ELIDAD\AppData\Local\Programs\Python\Python35\Scripts\jupyter-notebook.EXE\__main__.py", line 5, in <module>
  File "c:\users\elidad\appdata\local\programs\python\python35\lib\site-packages\notebook\__init__.py", line 25, in <module>
    from .nbextensions import install_nbextension
  File "c:\users\elidad\appdata\local\programs\python\python35\lib\site-packages\notebook\nbextensions.py", line 610, in <module>
    from .extensions import (
  File "c:\users\elidad\appdata\local\programs\python\python35\lib\site-packages\notebook\extensions.py", line 8, in <module>
    from tornado.log import LogFormatter
  File "c:\users\elidad\appdata\local\programs\python\python35\lib\site-packages\tornado\log.py", line 34, in <module>
    from tornado.escape import _unicode
  File "c:\users\elidad\appdata\local\programs\python\python35\lib\site-packages\tornado\escape.py", line 27, in <module>
    from tornado.util import unicode_type
  File "c:\users\elidad\appdata\local\programs\python\python35\lib\site-packages\tornado\util.py", line 21, in <module>
    from typing import (
ImportError: cannot import name 'Type']

那么,有什么问题呢?我是python和jupyter笔记本的新手。非常感谢你。

Vipul Sanjay Charthal

安装anaconda,

Anaconda是用于科学计算的Python和R编程语言的免费开放源代码发行,旨在简化软件包的管理和部署”(如Google所述)

然后尝试Jupyter笔记本链接:https ://www.anaconda.com/distribution/

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Jupyter Notebook ImportError:无法导入名称“ example_var”

spacy ImportError:无法在 Jupyter Notebook 中导入名称 Deque

Jupyter Notebook:从imblearn导入SMOTE-ImportError:无法导入名称“ pairwise_distances_chunked”

Jupyter Notebook Tensorflow MNIST导入错误:ImportError:无法导入名称批处理

无法在Jupyter Notebook中导入Tensorflow

无法在Jupyter Notebook上导入熊猫

无法在Jupyter Notebook中导入Scipy

无法在Jupyter Notebook中导入Tensorflow

Jupyter“ 500:内部服务器错误”;“ ImportError:无法导入名称ConverterMapping”

无法停止 Jupyter Notebook

无法启动Jupyter Notebook

在Jupyter Notebook中导入pyplot

从Jupyter Notebook调用julia函数(导入Julia Jupyter Notebook)

无法从Docker访问Jupyter Notebook

Jupyter Notebook扩展无法加载

为什么即使安装了Jupyter Notebook(Python 3.6),也无法在我的Jupyter Notebook中导入utils?

重新启动Jupyter安装在笔记本启动时失败-“ ImportError:无法从'prompt_toolkit.shortcuts'导入名称'create_prompt_application'

Jupyter Notebook无法启动(导入错误:导入时DLL加载失败)

Jupyter Notebook不导入任何模块

将 python 文件导入 Jupyter Notebook

在Jupyter Notebook上导入librosa命令的问题

如何在Jupyter Notebook中导入Pyperclip?

导入Tensorflow时Jupyter Notebook Kernel死亡

使用Jupyter Notebook(Python)导入wordcloud

导入pyqtgraph jupyter notebook时出错

在Jupyter Notebook中导入模块-路径

将Python模块导入Jupyter Notebook

ImportError:无法导入名称

ImportError:无法导入名称