我无法启动配置为运行远程VM(Redhat Enterprise Linux 6.x)的Jupyter Notebook(使用Anaconda 4.5.11安装)。 'jupyter_notebook_config.py'配置了以下属性:
c.NotebookApp.ip ='*'
返回的错误如下:
在处理上述异常期间,发生了另一个异常:
Traceback (most recent call last):
File "/opt/arnab/conda_pkg/python-skl/lib/python3.7/site-packages/notebook/notebookapp.py", line 869, in _default_allow_remote
addr = ipaddress.ip_address(self.ip)
File "/opt/arnab/conda_pkg/python-skl/lib/python3.7/ipaddress.py", line 54, in ip_address
address)
ValueError: '' does not appear to be an IPv4 or IPv6 address
答案 0 :(得分:6)
答案 1 :(得分:1)
离开joining
时的另一种解决方法是也设置c.NotebookApp.ip='*'
。