nb_conda: conda tab doesn't work
I just recorded a screencast of this problem: http://screencast.com/t/jnBVQlce4
In short:
-
I created a conda env with:
conda create -n testaen -c anaconda-nb-extensions -c r -c wakari nb_conda nb_conda_kernels r-essentials
-
I entered that conda environment to run conda:
source activate testaen jupyter notebook
-
I started Jupyter and then tried to go to the Conda tab. I get the error shown in the 2 minute video above. The full log from the start of Jupyter is below:
$ jupyter notebook
[W 16:03:52.822 NotebookApp] Widgets are unavailable. Please install widgetsnbextension or ipywidgets 4.0
[I 16:03:52.832 NotebookApp] The port 8888 is already in use, trying another port.
[I 16:03:52.843 NotebookApp] Serving notebooks from local directory: /Users/ijstokes/code/aetrial/files/assets
[I 16:03:52.843 NotebookApp] 0 active kernels
[I 16:03:52.843 NotebookApp] The Jupyter Notebook is running at: http://localhost:8889/
[I 16:03:52.843 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 16:04:04.164 NotebookApp] Notebook simon/Flight delays R model.ipynb is not trusted
[I 16:04:04.921 NotebookApp] Kernel started: d0272f60-34bb-4fc8-b256-c51a25cf23a2
[W 16:04:05.358 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20160418160352 (::1) 17.64ms referer=http://localhost:8889/notebooks/simon/Flight%20delays%20R%20model.ipynb
[I 16:06:04.761 NotebookApp] Saving file at /simon/Flight delays R model.ipynb
[W 16:06:04.762 NotebookApp] Saving untrusted notebook simon/Flight delays R model.ipynb
[W 16:06:44.134 NotebookApp] 404 GET /environments?_=1461009837436 (::1) 2.19ms referer=http://localhost:8889/tree/simon
[W 16:06:44.136 NotebookApp] 404 GET /packages/available?_=1461009837437 (::1) 0.93ms referer=http://localhost:8889/tree/simon
[W 16:07:08.330 NotebookApp] 404 GET /environments?_=1461009837441 (::1) 1.39ms referer=http://localhost:8889/tree/simon
[W 16:07:08.332 NotebookApp] 404 GET /packages/available?_=1461009837442 (::1) 1.39ms referer=http://localhost:8889/tree/simon
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 27 (21 by maintainers)
I ran into this issue myself (404s on /environments and /packages) on a fresh install. Here’s the output of
jupyter serverextension list
I then ran the following commands:
Before running these commands,
~/.jupyter/jupyter_notebook_config.json
did not exist. After these operations, it did exist, with the following contents:This caused nb_conda to start working properly. When I move that file out of the way by renaming it, nb_conda starts failing again, even though the output of jupyter serverextension list is unchanged.