-
Notifications
You must be signed in to change notification settings - Fork 122
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
Cannot load extensions configurator if using custom jupyter notebook config file #23
Comments
Sorry forgot to add that I installed using pip, not conda and using python 3.5.2 and notebook version 4.2.3. I saw issue #11 but don't think it is related. I am not using jupyterhub. |
Correct, this is unrelated to #11. It is to do with which config files things are in, and specifically where the In brief, to get this working as you hope it to, your simplest option (assuming you want to keep a python config file), would be to add the following line to your c.NotebookApp.set_default('nbserver_extensions', {})['jupyter_nbextensions_configurator'] = True In more detail, the reasons this is happening: If you used the provided jupyter subcommand to enable the configurator
then it works by editing a This is normally compatible with a
|
@jcb91 Thanks for the explanation! I was wondering, could I also have copied over the jupyter_notebook_config.json as jupyter_notebook_config_custom.json? |
No problem :)
Yes, as far as I can tell, that should also work just fine |
i use conda to install nbextensions. like following, and get problem. problem describe: solving: may be the problem due to own company jupyter setting. when i download jupyter_contrib_nbextensions via pip. the package download from own company repository, not from website. |
Hello, I created a custom jupyter notebook config file and so I launch jupyter notebook with the --config= parameter:
jupyter notebook --config=/path/jupyter_notebook_config_custom.py
In the terminal, I get no errors, but I notice I don't get the message:
Loaded extension jupyter_nbextensions_configurator
and so if I go to http://localhost:8888/nbextensions/ I get the http 404 error. I can still manually install extensions with the
enable
sub-command:jupyter nbextension enable <extension>
If I launch jupyter notebook with default config file ("jupyter_notebook_config.py"), I get the message:
Loaded extension jupyter_nbextensions_configurator
and therefore, nbextensions configurator is loaded ok and everything works as expected.
What I did, I just make a copy of the default config file (jupyter_notebook_config.py) and then just rename it to jupyter_notebook_config_custom.py, modify the port #, then do:
jupyter notebook --config=/path/jupyter_notebook_config_custom.py
and the nbextensions configurator does not get loaded. This is very unexpected. So it appears if I am not using a config file exactly called "jupyter_notebook_config.py", the nbextensions configurator doesn't get loaded.
The text was updated successfully, but these errors were encountered: