jupyter 出错
有一天jupyter突然报错,应该是管理员设置hosts的时候有个失误。自己是管理员。
$ jupyter-notebook
Traceback (most recent call last):
File "/home/zhangbo/anaconda3/lib/python3.7/site-packages/traitlets/traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'allow_remote_access'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/zhangbo/anaconda3/lib/python3.7/site-packages/notebook/notebookapp.py", line 864, in _default_allow_remote
addr = ipaddress.ip_address(self.ip)
File "/home/zhangbo/anaconda3/lib/python3.7/ipaddress.py", line 54, in ip_address
address)
ValueError: '' does not appear to be an IPv4 or IPv6 address
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/zhangbo/anaconda3/bin/jupyter-notebook", line 11, in <