我应该如何配置 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
完美运行。感谢您的任何帮助!!