-
Notifications
You must be signed in to change notification settings - Fork 812
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 configure while the Jupyter notebook server #1090
Comments
My "Nbextensions configuration" looks like the following: For all of the extensions, I get the following: However, the *.yaml files seem to be present:
|
So the install command uses the Anyway, since it's part of the post-link step in the conda install, the python package gets installed ok (as you have observed, all the yaml files are present in the python package's
from the appropriate conda environment. To clarify, the reason all the yaml files are present, but not found by the notebook server, is that the notebook server looks for nbextensions in the jupyter path, but the yaml files you've found are part of the python package (for distribution) and haven't been correctly copied into any of the jupyter data directories. I hope some of that makes sense - let me know if not. Any thoughts on removing/making non-default the running check @nick-youngblut, @jfbercher @juhasch? |
Thanks for the clarification! I tried
I'm guessing that I should be using different options rather than: |
blegh, try
without the
|
I'm not see where |
Yeah, the help message is for the jupyter-contrib script, which should find the nbextension subcommand (which accepts the flags) from pkg_resources. Perhaps the subcommand script hasn't been installed correctly 🤔 |
You could alternatively do this in python, I guess: from jupyter_contrib_nbextensions.install import toggle_install
toggle_install(True, sys_prefix=True, skip_running_check=True) |
|
Yeah, |
|
Weird, that script should get copied as part of the python package install (which seems to have happened ok), before the post-link script (which is what fails). Oh well, it's not super important, as it doesn't do much beyond install/uninstall. Given all these complications, you may be better off following the pip package installation instructions from scratch, using the |
OK, the following worked:
Thanks for your help! |
I had this same issue even though I had closed all my my notebooks and restarted my computer. The final comment worked for me! |
I had this issue too and like @lportelli4 I closed all my notebooks and restarted the pc. The final comment (by @nick-youngblut ) solved it! |
Hmm, it seems like the notebook code for detecting running servers is throwing up false positives then 🤔😞 |
This is being discussed in jupyter/notebook#2829 I guess we should add the |
See PR #1100 |
I restarted my macbook and the last comment contributed by@nick-youngblut worked. |
So it looks like you have a stale nbserver list. This seems to happen sometimes with the notebook. To clean this up, try executing
Then you will find the stale file in the runtime directory:
If you remove it, |
You need to remove the |
I had this issue too, for me it appeared to be caused by installing jupyter_nbextensions_configurator in isolation prior to jupyter_contrib_nbextensions. My solution:
(I installed the configurator first as part of BeakerX) |
@quant-dc when I tried your solution I got the following message...
I still don't have the extensions installed and still keep on getting this error message
when I run: |
this may be very unscientific but I uninstalled nb_extensions configurator I reinstalled the package and it works |
|
I'm trying to install the
jupyter_contrib_nbextensions
with conda. I get the following error when trying to install (here, just showing a subset of the error):The conda install prompt shows the following:
I have other jupyter notebooks running but they are in different conda environments in different anaconda installs at various locations on the server. Why is
jupyter_contrib_nbextensions
assessing jupyter notebooks in other isolated conda environments? Do I have to shut down all notebooks in order to installjupyter_contrib_nbextensions
?The text was updated successfully, but these errors were encountered: