Abstract:Mac系统jupyter notebook报错解决方法,Error为execution error。
Error: execution error
安装jupyter notebook,执行jupyter notebook命令后,出现报错信息:
1 | 0:42:execution error: “"http://localhost:8891/tree"”不理解“open location”信息。 (-1708) |
解决方法
1.终端进入jupyter的配置目录
1 | Users/scarlett/.jupyter |
2.进入jupyter_notebook_config.py的vim编辑模式
1 | vim jupyter_notebook_config.py |
3.在jupyter_notebook_config.py文件中加入3行代码
1 | c.NotebookApp.browser = u'Safari' |
4.保存文件,重新执行
1 | jupyter notebook |