【发布时间】:2019-09-13 22:55:04
【问题描述】:
当我打开 jupyter notebook 时出现错误。
我使用谷歌寻求帮助,但找不到答案。
我在 macOS mojave 上使用 python 3.7.2。我重新安装了我的 Jupiter notebook 但没有任何变化。
当我输入 jupyter notebook.它告诉我这些
Last login: Wed Apr 24 23:06:17
miracleleon@MiracledeMBP ~ jupyter notebook
Traceback (most recent call last):
File "/usr/local/bin/jupyter-notebook", line 6, in
from notebook.notebookapp import main
File "/usr/local/lib/python3.7/site-packages/notebook/init.py", line 25, in
from .nbextensions import install_nbextension
File "/usr/local/lib/python3.7/site-packages/notebook/nbextensions.py", line 610, in
from .extensions import (
File "/usr/local/lib/python3.7/site-packages/notebook/extensions.py", line 8, in
from tornado.log import LogFormatter
File "/usr/local/lib/python3.7/site-packages/tornado/log.py", line 34, in
from tornado.escape import _unicode
File "/usr/local/lib/python3.7/site-packages/tornado/escape.py", line 27, in
from tornado.util import unicode_type
File "/usr/local/lib/python3.7/site-packages/tornado/util.py", line 18, in
import typing
File "/usr/local/lib/python3.7/site-packages/typing.py", line 1356, in
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "/usr/local/lib/python3.7/site-packages/typing.py", line 1004, in new
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
【问题讨论】:
标签: python macos jupyter python-3.7