Jupyter notebook Can';t在Jupyter笔记本上创建ipyparallel群集
我有以下资料:Jupyter notebook Can';t在Jupyter笔记本上创建ipyparallel群集,jupyter-notebook,ipython-parallel,Jupyter Notebook,Ipython Parallel,我有以下资料: ipyparallel(5.0.0) 伊皮顿(4.0.3) 我已通过在命令行中键入以下命令来启用ipcluster: ipcluster nbextension enable 我试图在Jupyter笔记本的IPython Clusters选项卡上创建一个新集群,但我看到的是: 我以前能做到这一点。谢谢 来自: 不要编辑jupyter_notebook_config.py,而是编辑jupyter_notebook_config.json并查找: "NotebookApp
- ipyparallel(5.0.0)
- 伊皮顿(4.0.3)
ipcluster nbextension enable
我试图在Jupyter笔记本的IPython Clusters选项卡上创建一个新集群,但我看到的是:
我以前能做到这一点。谢谢 来自:
不要编辑jupyter_notebook_config.py,而是编辑jupyter_notebook_config.json并查找:
"NotebookApp": {
"server_extensions": [
<some lines>
]
“NotebookApp”:{
“服务器扩展”:[
]
将此更改为:
"NotebookApp": {
"server_extensions": [
<some lines>,
"ipyparallel.nbextension"
]
“NotebookApp”:{
“服务器扩展”:[
,
“ipyparallel.nbextension”
]
我刚刚偶然发现了同一个问题,并且在公认的答案中提到的修复方法起到了作用,但让我为这个问题的未来访问者添加一些上下文,以防万一
我有针对Linux的Anaconda 5.0,在此基础上我首先做了:
jupyter notebook --generate-config
pip install ipyparallel
jupyter nbextension install --py ipyparallel --user
jupyter nbextension enable --py ipyparallel --user
jupyter serverextension enable --py ipyparallel --user
这导致了截图上的情况。
在~/.jupyter
下,我有jupyter\u notebook\u config.json
和jupyter\u notebook\u config.py
json
文件包含以下内容:
{
"NotebookApp": {
"nbserver_extensions": {
"ipyparallel.nbextension": true
}
}
}
我通过添加“服务器扩展名”
块更改了文件,如下所示:
{
"NotebookApp": {
"nbserver_extensions": {
"ipyparallel.nbextension": true
},
"server_extensions": [
"ipyparallel.nbextension"
]
}
}
重启后,Jupyter在日志中报告:
[W 19:44:14.107 NotebookApp] server_extensions is deprecated, use nbserver_extensions
但是,Clusters选项卡在必要时开始工作。显然,配置逻辑中最近的一些更改并没有传播到所有代码库。在哪里可以找到jupyter\u notebook\u config.json?我只能在home/.jupyter/下找到jupyter\u notebook\u config.py。