之前在win10上用ipython notebook一切正常,今天在mac上装了一下,报错:
execution error: ““http://localhost:8888/tree?token=dcc43c88ed1dafe8650a3ebb6f8b1222afea4d38a0fee9a7””不理解“open location”信息。 (-1708)
解决方法
命令行输入:
jupyter notebook --generate-config
#Writing default config to: /Users/apple/.jupyter/jupyter_notebook_config.py
cd .jupyter
nano jupyter_notebook_config.py
#在文件中首行加入 c.NotebookApp.browser='Safari'保存退出
jupyter notebook #浏览器成功打开jupyter界面