当我尝试在未连接到 Internet 的情况下从 EPD 的 Canopy 启动 ipython 笔记本时,笔记本在启动前会崩溃。连接到网络时不会发生这种情况。
任何帮助都将受到欢迎。
接下来是简短的故障转储。c.Application.verbose_crash=True
可以在此处找到配置文件中设置的完整转储https://gist.github.com/xaverm/6873969
短转储
~>.Canopy/EPDenvironment/bin/ipython notebook
[NotebookApp] Using existing profile dir: u'/home/xuserx/.ipython/profile_default'
[NotebookApp] Serving notebooks from /home/xuserx
Traceback (most recent call last):
File ".Canopy/EPDenvironment/bin/ipython", line 10, in <module>
sys.exit(launch_new_instance())
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 401, in launch_new_instance
app.initialize()
File "<string>", line 2, in initialize
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
return method(app, *args, **kwargs)
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 313, in initialize
super(TerminalIPythonApp, self).initialize(argv)
File "<string>", line 2, in initialize
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
return method(app, *args, **kwargs)
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/core/application.py", line 325, in initialize
self.parse_command_line(argv)
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 308, in parse_command_line
return super(TerminalIPythonApp, self).parse_command_line(argv)
File "<string>", line 2, in parse_command_line
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
return method(app, *args, **kwargs)
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/config/application.py", line 420, in parse_command_line
return self.initialize_subcommand(subc, subargv)
File "<string>", line 2, in initialize_subcommand
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
return method(app, *args, **kwargs)
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/config/application.py", line 359, in initialize_subcommand
self.subapp.initialize(argv)
File "<string>", line 2, in initialize
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
return method(app, *args, **kwargs)
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/frontend/html/notebook/notebookapp.py", line 532, in initialize
self.init_webapp()
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/IPython/frontend/html/notebook/notebookapp.py", line 450, in init_webapp
self.http_server.listen(port, self.ip)
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/tornado/netutil.py", line 100, in listen
sockets = bind_sockets(port, address=address)
File "/home/xuserx/.Canopy/EPDenvironment/lib/python2.7/site-packages/tornado/netutil.py", line 248, in bind_sockets
0, flags)):
gaierror: [Errno -9] Address family for hostname not supported