以下是我在 Dato Launcher 启动的终端上遇到的错误。Jupyter notebook 确实出现了,但没有突出显示关键字,并且执行单元格似乎没有做任何事情(例如,打印实际上不会打印任何内容)。
[E 13:03:15.259 NotebookApp] Uncaught exception, closing connection.
Traceback (most recent call last):
File "/Users/xyz/anaconda/envs/dato-env/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 407, in _run_callback
callback(*args, **kwargs)
File "/Users/xyz/anaconda/envs/dato-env/lib/python2.7/site-packages/tornado/stack_context.py", line 275, in null_wrapper
return fn(*args, **kwargs)
File "/Users/xyz/anaconda/envs/dato-env/lib/python2.7/site-packages/IPython/html/services/kernels/handlers.py", line 147, in _handle_kernel_info_reply
self._finish_kernel_info(info)
File "/Users/xyz/anaconda/envs/dato-env/lib/python2.7/site-packages/IPython/html/services/kernels/handlers.py", line 162, in _finish_kernel_info
self.session.adapt_version = int(protocol_version.split('.')[0])
AttributeError: 'list' object has no attribute 'split'