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
Enabling widgets on jupyterhub for all users #1949
Comments
I solved the issue by:
Only step 1 was not enough. |
Great, thanks for following up with your solution so others can benefit! |
@jasongrout, would you be interested in adding a short section to the installation docs saying that when notebook and kernel are in different environments, both need to have I could send a PR. |
Definitely! Actually, the ipywidgets python package does not need to be installed in the notebook environment - only the widgetsnbextension package needs to be installed (and enabled) in the notebook environment. |
And technically only the ipywidgets python package needs to be installed in the kernel environment, but we make it depend on widgetsnbextension for convenience when you only have one environment. See also #1892 for more discussion on this topic. |
True |
Hi,
I am running jupyterhub with default local spawner installed via conda (system-wide installation). Jupyterhub is installed in its own coda-environment which also includes the single-user notebook. I provide another system environment to all users called
py36-sys
. I installed the ipywidgets package from conda-forge in thepy36-sys
environment. Still, users get an error when trying to use the widgets.I also tried to run this command after activating the
py36-sys
environment:but the error persists.
Test code:
Output
The text was updated successfully, but these errors were encountered: