Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to see the jupyter_nbextensions_configurator #94

Closed
EnricowithR opened this issue Jan 6, 2019 · 8 comments
Closed

Not able to see the jupyter_nbextensions_configurator #94

EnricowithR opened this issue Jan 6, 2019 · 8 comments

Comments

@EnricowithR
Copy link

I upgraded jupyter_nbextensions_configurator to 0.4.1
then I run again:
jupyter nbextensions_configurator enable --user

However at the following page:
http://localhost:8888/tree
the extensions is not visible yet.

Also if I try to access to
http://localhost:8888/custom/base/url/nbextensions
or
http://localhost:8888/custom/base/url/tree
it returns:
404 : Not Found
You are requesting a page that does not exist!

What can be done to make it visible?

@juhasch
Copy link
Contributor

juhasch commented Jan 6, 2019

The standard url is http://localhost:8888/nbextensions, unless you habe changed the baseurl configuration. Did you try that ?

@EnricowithR
Copy link
Author

I tried it and it gives the same not found error

@juhasch
Copy link
Contributor

juhasch commented Jan 6, 2019

Do you see [jupyter_nbextensions_configurator] enabled 0.4.1 in the log when starting the notebook ?

@EnricowithR
Copy link
Author

no, and in the logs I see this message:
404 GET /nbextensions/widgets/notebook/js/extension.js (::1) 2.61ms referer=http://localhost:8888/notebooks/Desktop...

what should I do to active it?

@juhasch
Copy link
Contributor

juhasch commented Jan 7, 2019

  1. try python -c "import jupyter_nbextensions_configurator". If you get an error, the configurator is not installed.
  2. try jupyter-serverextension list. It should look like this:
config dir: /home/juhasch/.jupyter
    jupyter_nbextensions_configurator  enabled 
    - Validating...
      jupyter_nbextensions_configurator 0.4.1 OK

If not, the extension was not installed properly.

You might want to create a new virtualenv or conda environment (depending on your installation) and try reinstalling in a fresh setup.

@EnricowithR
Copy link
Author

  1. the first command returns:
    No module named 'jupyter_nbextensions_configurator'

  2. and the second one returns:
    jupyter_nbextensions_configurator enabled

    • Validating...
      jupyter_nbextensions_configurator 0.4.1 OK
      config dir: /anaconda3/etc/jupyter
      jupyterlab enabled
    • Validating...
      jupyterlab 0.27.0 OK

How is it possible that the extension appears as enabled but the module is not found?

@juhasch
Copy link
Contributor

juhasch commented Jan 8, 2019

You likely installed the configurator package in your base environment and not in your current one.

@EnricowithR
Copy link
Author

Right, that was the case. I fixed it following the suggestions from here:
ipython-contrib/jupyter_contrib_nbextensions#1115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants