Unable to create ipyparallel clusters on Jupyter laptop

I have the following:

  • ipyparallel (5.0.0)
  • ipython (4.0.3)

I turned on ipcluster by typing in the command line:

ipcluster nbextension enable 

I am trying to create a new cluster in the IPython Clusters tab on a Jupyter laptop, but this is what I see:

screeenshot

I was able to do this before. Thanks!

+8
jupyter-notebook ipython-parallel
source share
2 answers

From here :

Instead of editing jupyter_notebook_config.py, edit jupyter_notebook_config.json and find:

  "NotebookApp": { "server_extensions": [ <some lines> ] 

change this to:

  "NotebookApp": { "server_extensions": [ <some lines>, "ipyparallel.nbextension" ] 
+4
source share

I just stumbled upon the same issue, and the fix mentioned in the accepted answer worked, but let me add some context for future visitors to this question, just in case.

I have Anaconda 5.0 for Linux, under which I first did:

 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 

This leads to the situation in the screenshot. In ~/.jupyter , I have both jupyter_notebook_config.json and jupyter_notebook_config.py .

The json file had this inside:

 { "NotebookApp": { "nbserver_extensions": { "ipyparallel.nbextension": true } } } 

I modified the file by adding the "server_extensions" block as follows:

 { "NotebookApp": { "nbserver_extensions": { "ipyparallel.nbextension": true }, "server_extensions": [ "ipyparallel.nbextension" ] } } 

After a reboot, Jupyter reported in the logs:

 [W 19:44:14.107 NotebookApp] server_extensions is deprecated, use nbserver_extensions 

However, the Clusters tab started working as needed. Apparently, some recent changes to the configuration logic did not extend to the entire codebase.

0
source share

All Articles