尝试打开jupyter笔记本时语法无效

时间:2017-07-25 17:27:38

标签: python

当我在终端输入命令jupyter notebook时,我收到此错误。 它工作正常,突然间似乎突然出现了

decentmakeover@DecentMakeover:~$ jupyter notebook
Traceback (most recent call last):
  File "/home/decentmakeover/anaconda3/bin/jupyter-notebook", line 4, 
in <module>
    import notebook.notebookapp
  File "/home/decentmakeover/anaconda3/lib/python3.6/site-
packages/notebook/notebookapp.py", line 74, in <module>
    from .services.kernels.kernelmanager import MappingKernelManager
  File "/home/decentmakeover/anaconda3/lib/python3.6/site-
packages/notebook/services/kernels/kernelmanager.py", line 16, in < 
module>
    from jupyter_client.multikernelmanager import MultiKernelManager
  File "/home/decentmakeover/anaconda3/lib/python3.6/site-
packages/jupyter_client/__init__.py", line 7, in <module>
    from .manager import KernelManager, run_kernel
  File "/home/decentmakeover/anaconda3/lib/python3.6/site-
packages/jupyter_client/manager.py", line 32, in <module>
    from .session import Session
  File "/home/decentmakeover/anaconda3/lib/python3.6/site-
packages/jupyter_client/session.py", line 61, in <module>
   from jupyter_client.jsonutil import extract_dates, squash_dates, 
date_default
  File "/home/decentmakeover/anaconda3/lib/python3.6/site-
packages/jupyter_client/jsonutil.py", line 11, in <module>
   from dateutil.parser import parse as _dateutil_parse
 File "/home/decentmakeover/anaconda3/lib/python3.6/site-packa 
ges/dateutil/parser.py", line 303
    raise ValueError, "unknown string format"
                ^
SyntaxError: invalid syntax

我该如何解决这个问题?

0 个答案:

没有答案