推出Jupyter笔记本“

时间:2017-07-17 01:24:19

标签: anaconda jupyter-notebook

enter image description here 我想我一步一步地遵循了Anaconda的安装说明,但问题是Jupyter笔记本无法自动打开,即该网站。有谁知道怎么解决它?

1 个答案:

答案 0 :(得分:0)

这是OS X打开默认浏览器的方式的已知错误。您应该只需复制链接并将其粘贴到浏览器地址即可。一切都应该正常工作。如果您想要更持久的修复,可以打开位于主目录.jupyter/jupyter_notebook_config.py中的文件(它只是一个文本文件,但它已被隐藏,因此您需要终端或一些可以打开它的应用程序)并指定默认浏览器:

#  If not specified, the default browser will be determined by the `webbrowser`
#  standard library module, which allows setting of the BROWSER environment
#  variable to override it.
c.NotebookApp.browser = u'Safari'

编辑:如果找不到配置文件,可以在主目录中运行命令生成一个:

jupyter notebook --generate-config