-
Notifications
You must be signed in to change notification settings - Fork 809
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
extension not working with notebook 6.5.2 #1628
Comments
Confirmed: with notebook 6.5.2, the I was a little confused between conda create -y -n tst -c conda-forge jupyter_contrib_nbextensions black jupyter-black
conda activate tst
jupyter nbextension enable jupyter-black-master/jupyter-black or conda create -y -n tst "python~=3.10"
conda activate tst
pip install jupyter_contrib_nbextensions black
jupyter nbextension install https://github.com/drillan/jupyter-black/archive/master.zip --sys-prefix
jupyter nbextension enable jupyter-black-master/jupyter-black but still get a lot of validation errors and no visible configurator (visiting : $ jupyter nbextension list
Known nbextensions:
config dir: /Users/mforbes/.conda/envs/tst/etc/jupyter/nbconfig
notebook section
nbextensions_configurator/config_menu/main enabled
- Validating: problems found:
- require? X nbextensions_configurator/config_menu/main
contrib_nbextensions_help_item/main enabled
- Validating: OK
tree section
nbextensions_configurator/tree_tab/main enabled
- Validating: problems found:
- require? X nbextensions_configurator/tree_tab/main
config dir: /Users/mforbes/.jupyter/nbconfig
notebook section
jupyter-black-master/jupyter-black enabled
- Validating: OK Perhaps this is an issue with jupyter_nbextensions_configurator instead? Visiting http://localhost:8888/nbextensions/ give a blank page with the following errors in the JS console: Javascript console errors
|
I was also struggling with this problem, so I did a bit of digging. jupyter_contrib_nbextensions/src/jupyter_contrib_nbextensions/nbextensions/python-markdown/main.js Line 16 in a186b18
Looking at jupyter/nbclassic#201, we can see that a recent upgrade was done, and To fix this problem temporarily, you can make a copy of Hope this helps. |
|
I am wondering if you are willing to share a bit more about how you located this bug? I had been struggling with this problem for some time and your solution was very helpful. I would love to learn more about your thought process. Thanks, |
Thank you for taking the time to explain your thought process in such detail. Your insights were helpful in understanding how to locate the bug. I really appreciate your willingness to share your expertise and help others in the community. Thanks again! |
The workaround mentioned above only partly worked for me (the Nbextensions tab was shown but no extensions were actually working). Instead, I trided downgrading |
@dynamicsoar Thanks! This is the key. I believe that the issue lies fully with the configurator (Jupyter-contrib/jupyter_nbextensions_configurator#151) and not with conda create -n tst "python~=3.11"
conda activate tst
pip install jupytext RISE jupyter_contrib_nbextensions black "nbclassic<0.5" Everything works for me with this. Upgrading Perhaps @rhajou could confirm, but I think this issue can be closed: further updates should be tracked there. |
This is the correct way to solve this issue. |
it is really helpful, thank you! |
Hello,
I am trying to install jupyter_contrib_nb_extensions in my venv environment with the following versions:
using these commands for the installtion of jupyter_contrib_nbextensions:
But the extensions would not appear in jupyter notebook. I tried reloading the venv environment (deactivate/activate) reload vs code, reload multiple times the jupyter notebook server and it didn't work.
The only solution that worked is downgrading notebook from 6.5.2 to 5.6.0
The text was updated successfully, but these errors were encountered: