gpt4 book ai didi

jupyter-notebook - Ipython notebook 不会在命令行上启动

转载 作者:行者123 更新时间:2023-12-04 13:02:37 26 4
gpt4 key购买 nike

我试图用 ipython notebook 在终端中打开 ipython它不会打开 ipython notebook。它给出了以下错误:

| ~/documents/ud120-projects/datasets_questions @ HJ (JiaHui)
| => ipython notebook
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and
will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in
the future
[I 14:46:50.516 NotebookApp] Serving notebooks from local directory:
/Users/JiaHui/Documents/ud120-projects/datasets_questions
[I 14:46:50.517 NotebookApp] 0 active kernels
[I 14:46:50.517 NotebookApp] The Jupyter Notebook is running at:
http://localhost:8888/?token=ef13f681f4d61223064e41a5a9e369813c155d27b0103471
[I 14:46:50.517 NotebookApp] Use Control-C to stop this server and shut down
all kernels (twice to skip confirmation).
[C 14:46:51.567 NotebookApp]

Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?
token=ef13f681f4d61223064e41a5a9e369813c155d27b0103471
0:97: execution error: "http://localhost:8888/tree?
token=145eccd35722c35c6525d8a4d376f27aa60358dc7d00de4c" doesn’t understand the
“open location” message. (-1708)

我已经升级了 conda jupyter,但它仍然无法正常工作。我怎样才能解决这个问题?

最佳答案

此问题由最新的 Mac OSX 10.12.5 升级引起。请按照以下步骤进行修复:

  • 如果没有,请生成 jupyter 配置:
    jupyter 笔记本 --generate-config
  • 使用 vim 打开该配置文件并在以下位置添加 Google chrome 值:
    c.NotebookApp.browser = u'chrome'(一定要把#注释号去掉)
  • 关于jupyter-notebook - Ipython notebook 不会在命令行上启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44057601/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com