c语言sscanf函数的用法是什么
337
2022-08-25
jupyter 远程访问配置:KeyError: 'allow_remote_access'
我今天在配置服务器的jupyter notebook的时候遇见了下面的错误
(安装jupyter的教程参考
Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-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 "/usr/local/lib/python3.5/dist-packages/notebook/notebookapp.py", line 869, in _default_allow_remote addr = ipaddress.ip_address(self.ip) File "/usr/lib/python3.5/ipaddress.py", line 54, in ip_address address)ValueError: '' does not appear to be an IPv4 or IPv6 addressDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/local/bin/jupyter-notebook", line 11, in
jupyter都是常规方法配置的,后面发现在配置jupyter_notebook_config.py的时候少加了下面的东西,于是输入
vim ~/.jupyter/jupyter_notebook_config.py //ubuntu 16.04
添加如下代码行:
c.NotebookApp.allow_remote_access = True
然后这样就可以正常启动了
参考文献
[1].Error while trying to open Jupyter notebook in Paperspace. http://forums.fast.ai/t/error-while-trying-to-open-jupyter-notebook-in-paperspace/22634
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~