Beaker Notebook在Windows上启动Anaconda Python

时间:2016-04-29 14:08:01

标签: ipython anaconda beaker-notebook

我应该如何配置Beaker使用我预装的Anaconda Python3?我按照说明here,然后here,但没有成功。我的beaker.pref.json文件如下:

{
  "autocomplete-parameters" : "true",
  "pref-format" : "1",
  "allow-anonymous-usage-tracking" : true,
  "languages" : {
    "IPython" : {
      "path" : "c:\\Python\\Anaconda"
    },
    "Python2" : {
      "path" : "c:\\Python\\Anaconda\\envs\\py27"
    },
    "Python3" : {
      "path" : "c:\\Python\\Anaconda"
    }
  },
  "advanced-mode" : false,
  "edit-mode" : "default"
}

我在没有Python2的情况下尝试过,但仍无效。我的浏览器始终打开,但无法连接到服务器。

beaker.pref.json运行的输出是:

...
c:\Beaker>REM limitations under the License.
starting nginx instance (c:\Beaker/nginx)
nginx-stderr>nginx: [alert] could not open error log file: CreateFile() "C:\Users\itsme\.beaker\v1\nginx8685613245756631317/logs/error.log" failed (1113: Form
atMessage() error:(15100))
nginx-stderr>2016/04/29 16:03:50 [emerg] 3548#14984: CreateFile() "C:\Users\itsme\.beaker\v1\nginx8685613245756631317/conf/nginx.conf" failed (1113: FormatMes
sage() error:(15105))
[main] INFO org.eclipse.jetty.server.Server - jetty-8.1.13.v20130916
[main] INFO org.eclipse.jetty.server.AbstractConnector - Started SelectChannelConnector@127.0.0.1:8802

Connecting to http://127.0.0.1:8801/

当然,Jupyter完美无缺。 谢谢你的帮助!!

1 个答案:

答案 0 :(得分:-1)

看起来BeakerX是Beaker的继承者!通过互联网查看BeakerX

要安装它,只需执行:conda install -c beakerx beakerx

不要再使用Beaker了,否则,你可能会花很多时间试图解决它。