jupyter_nbextensions_configurator | A jupyter notebook serverextension | Code Editor library
kandi X-RAY | jupyter_nbextensions_configurator Summary
kandi X-RAY | jupyter_nbextensions_configurator Summary
[Join the chat at [GitHub issues] [Codecov python test coverage] [Conda forge] A server extension for [jupyter notebook] which provides configuration interfaces for notebook extensions (nbextensions). The jupyter_nbextensions_configurator jupyter server extension provides graphical user interfaces for configuring which nbextensions are enabled (load automatically for every notebook). In addition, for nbextensions which include an appropriate yaml descriptor file (see below), the interface also renders their markdown readme files, and provides controls to configure the nbextensions' options. This project was spun out of work from [ipython-contrib/IPython-notebook-extensions][contrib repo url]. [contrib repo url]:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jupyter_nbextensions_configurator
jupyter_nbextensions_configurator Key Features
jupyter_nbextensions_configurator Examples and Code Snippets
Community Discussions
Trending Discussions on jupyter_nbextensions_configurator
QUESTION
I am running Jupyter lab on my WSL2 Ubuntu and accessing it in Firefox on my Win10 PC. They are running on the same machine, so there should be no "Network" involved. I am running it as jupyter lab --no-browser
. The Server launches just fine in the terminal:
ANSWER
Answered 2021-Mar-22 at 15:08They are running on the same machine, so there should be no "Network" involved.
Believe it or not, there's definitely a network involved when communicating between Windows and a WSL2 session. While WSL1 ran "on" the host Windows network (pseudo-bridged), WSL2 runs in a separate VM that has its own virtual NIC. That NIC is NAT'd behind the Windows interface by default.
This means that port-forwarding is needed, so that when you access port 8888
on localhost
(127.0.0.1) in the Windows browser, it is forwarded to the virtual NIC for the WSL2 instance.
By default, this happens automatically (see the localhostForwarding
setting on that page). However, sometimes it doesn't. Typically, it "breaks" when Windows is hibernated or shut down with "Fast Restart" enabled (which also does a "mini-hibernate"). Note that Fast Restart is the default in Windows, so it's easy to run into this problem.
The solution is fairly straightforward, assuming that this is the problem that you are seeing:
- Exit out of any running WSL instances
wsl --shutdown
at the PowerShell or CMD prompt- Restart your WSL instance
Things will hopefully hum along just fine until your next hibernate.
More info and other suggestions to try if that doesn't work at this answer.
QUESTION
I want to install nbextensions for my juypter notebooks. Having followed the instructions from here, I can see the nbextensions dashboard.
However when I go to enable this I get the following error:
"This nbextension's require url (splitcell/splitcell) is referenced by two different yaml files on the server. This probably means that there are two installations of the same nbextension in different directories on the server. If they are different, only one will be loaded by the notebook, and this may prevent configuration from working correctly. Check the jupyter notebook server log for the paths of the relevant yaml files."
I find that I indeed have multiple entries....
This link suggests to delete one (though there are actually 3)... what I don't know is which... I don't want to delete something that then breaks my jupyter instances completely.
I have the feeling that I am not using the instance under anaconda. What do I damage if I delete this?
Appreciate any insights, and let me know if you need more information,
J
ANSWER
Answered 2021-Jan-29 at 04:32In the meantime I took the risk and deleted the version in the --user level.
QUESTION
I installed jupyter notebook with pip using python -m pip install jupyter
and nbextensions using pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install
My current jupyter-notebook
version is 6.1.6 which makes nbextensions to show blank tab as per this thread . However the solution is to downgrade the notebook to 6.1.5 version.
How do I do that using pip?
...ANSWER
Answered 2021-Jan-06 at 09:12You can specify a version number:
QUESTION
I installed conda install -c conda-forge jupyter_nbextensions_configurator
and ran jupyter nbextensions_configurator enable --user
in my venv, but the nbextensions menu is empty. I've restarted notebook a few times, no luck. How can I get the menu to show up so that I can click and select TOC, etc.?
System details:
Windows 10, Firefox
conda 4.8.2
Python 3.8.3
jupyter 1.0.0 pypi_0 pypi
jupyter_client 6.1.3 py_0 conda-forge
jupyter_console 6.1.0 py_1 conda-forge
jupyter_contrib_core 0.3.3 py_2 conda-forge
jupyter_core 4.6.3 py38h32f6830_1 conda-forge
jupyter_nbextensions_configurator 0.4.1 py38_0 conda-forge
ANSWER
Answered 2020-Jul-08 at 16:30I found the answer here, in an open issue on Github
I ran the following in Anaconda prompt:
QUESTION
Note: yes, there are many, many posts regarding the issues of installing mysql for python, specifically for python3 (e.g. Troubles installing mysqlclient with pip3). Most solutions are done in a non-dockerized manner. I have also read the mysqlclient install guide. I am still struggling to get it to work
A repo to clone and test for convenience.
Here I am trying to install it to my docker image.
Dockerfile.ai ...ANSWER
Answered 2020-Jan-07 at 15:37From "cannot find -lssl; cannot find -lcrypto" when installing mysql-python? it seems you need to install the libssl-dev package through apt
QUESTION
I'm really enjoying the Unofficial Jupyter Notebook extensions found here. There's the Jupyter nbextensions configurator capability that allows one to interactive enable/disable extensions as well.
However, what do I do if I want to migrate to a new virtual environment? Is there a more seamless way of getting to my original configuration, other than manually executing jupyter nbextension enable [extension]
for each one? Is there a way to export and import the extensions and settings?
ANSWER
Answered 2019-Oct-20 at 20:40You could install the two virtual environments as different kernels in jupyter: https://ipython.readthedocs.io/en/stable/install/kernel_install.html#kernels-for-different-environments that way you only install jupyter and it's extensions once and then choose your venv as a kernel from within jupyter.
Another option is to use docker, which would allow you to commit the environment to source control (i.e. it will be easier to share).
QUESTION
In my current conda environment I want to start using jupyter. I have done this successfully in other projects. This time I'm unable to access the kernel from jupyter.
The environment is activated using conda activate myenv
.
The I run,
(myenv) jupyter lab
,
which opens jupyter, but my kernel is not on the list.
I went back to an old environment: (myenv) conda deactivate
then conda activate oldenv
. There I installed the ipykernel using (oldenv) conda install ipykernel
.
This kernel is now on the dropdown list of kernels when starting jupyter regardles of which jupyter i start. This means I can find it using both (myenv) jupyter lab
and (oldenv) jupyter lab
.
I have tried to reinstall nb_conda
and ipykernel
in myenv
. Now I'm out of ideas. Some outputs from myenv
is listed below. I'm at such a loss I don't even know what the relevant output is.
ANSWER
Answered 2019-Feb-21 at 12:08IIUC you want to access several kernels with jupyter(-lab). To achieve this I install on the base conda jupyter(-lab) and for every env i do
QUESTION
Is it possible to use jupyter_contrib_nbextensions extension like "Collapsible Headings" in nbviewer?
I've managed to use it locally by doing the following steps:
...ANSWER
Answered 2018-Dec-13 at 05:24By following @AdrienPacifico and mybinder documentation suggestions I've managed to have jupyter_contrib_nbextensions installed and activated for both - my local Jupyter server and for mybinder server by simply putting all extension activation instructions into postBuild
file in the root of my repository.
Here are examples of requirements.txt
and postBuild
files that activate collapsible_headings extension:
requirements.txt
QUESTION
After I tried to add and remove an extension in Jupyter Notebook, I can't open or create a new python document anymore.
the browser shows: "500 : Internal Server Error"
terminal shows (quite long, I only copied part of it which indicates an error):
...
...ANSWER
Answered 2018-Jul-21 at 03:16Looks like jupyter_nbextensions_configurator
is missing. Maybe try install it following instruction here https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator
QUESTION
I updated my Jupyter Notebook and it does not create a new notebook under the current directory as it used to. Instead, it always creates a new notebook under the start-up directory.This happens on my Mac and Windows computers. How can I fix this?
1) Creating a new notebook under project1
2) A new notebook was successfully created
3) However, this notebook was created under the jupyter start-up directory rather than project1
Jupyter did not behave like this before. Is this a bug or intended behavior?
Here are my Jupyter related package versions.
...ANSWER
Answered 2018-Feb-03 at 17:46Solution: Run
conda update conda
And then:
conda update --all
in your anaconda prompt. There are recent updates to jupyter that will fix this issue.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jupyter_nbextensions_configurator
Installing the pip package. This should be as simple as pip install jupyter_nbextensions_configurator
Configuring the notebook server to load the server extension. A jupyter subcommand is provided for this. You can enable the serverextension and the configurator nbextensions listed below for the current user with jupyter nbextensions_configurator enable --user The command accepts the same flags as the `jupyter serverextension` command provided by notebook versions >= 4.2, including `--system` to enable in system-wide config (the default), or `--sys-prefix` to enable in config files inside python's `sys.prefix`, such as for a virtual environment. The provided `jupyter nbextensions_configurator` command can also be used to `disable`.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page