I am excited to announce the release of jupyterlab-nengo.
What is jupyterlab-nengo?
The jupyterlab-nengo extension allows to run the Nengo GUI within JupyterLab. That means you get all the amazing JupyterLab features such as multiple panes, tabs, code editor, and so on integrated with the Nengo GUI interface.
#4. when I entered the … jupyter labextension install … @jgosmann/jupyterlab-nengo
I received the ff:
Errored, use --debug for full output:
ValueError: Please install nodejs 5+ and npm before continuing. nodejs may be installed using conda or directly from the nodejs website.
I am writing this before going to the nodejs website - I will try that now, Otherwise, I am afraid I need explicit directions for these last steps.
Yes, it seems that you need to install NodeJS (and NPM, which I believe to be included in NodeJS). I had those installed as part of my development environment, but was not aware that they are required in a production environment too (it is not mentioned in the Jupyter Lab documentation I believe, but it doesn’t surprise me either). I will update the readme when I get the chance.
I did the installs and everything seemed to load. However,
n.b. typing ‘jupyter notebook’ works well as before.
However, typing ‘jupyter lab’ brings up the appropriate files. The .ipynb files still work in python. When I right cliock on the .py files and select to run them with nengo, a large white screen with a smaller white box comes up and nothing else.
? does any code need be added or removed from the old .py files that worked in the non-jupyter gui?
More troubling, when I simply type ‘nengo’ that also brought up the nengo gui before (but not as a jupyter notebook), I know get the error message
I guess I was using 2.7. When I upgraded to 2.8, the old nengo gui worked fine. Thanks
However, with jupyter lab I still had the same results. i.e. It seemed to start just fine, the files were displayed all right. When I right clicked on a .py file and selected nengo, a large and smaller white box was displayed, but nothing within them.
the jupyter files are as follows:
.jupyter/lab/workspaces/lab-a51-jupyter or similar and …
.jupyter/nbconfig/notebook.json
I had tried renaming the notebook.json files and moving it to
.jupyter/jupyter_notebook_config.json
when I was still running 2.7.
I could rename and move now if you think that might help.
When I tried the same install on my computer at work I got the foolowing error:
ValueError: No version of @jgosmann/jupyterlab-nengo could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.