Skip to content
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

Endless fail to get nbextensions to appear on M2 Mac #1632

Open
kevinbleakley opened this issue Mar 27, 2023 · 3 comments
Open

Endless fail to get nbextensions to appear on M2 Mac #1632

kevinbleakley opened this issue Mar 27, 2023 · 3 comments

Comments

@kevinbleakley
Copy link

Hi, have tried all I can find to get nbextensions to appear as a tab or in the http:/ setting.

Mac M2 Monterey

Jupyter versions:
IPython : 8.10.0
ipykernel : 6.19.2
ipywidgets : not installed
jupyter_client : 7.4.9
jupyter_core : 5.2.0
jupyter_server : 1.23.4
jupyterlab : not installed
nbclient : 0.5.13
nbconvert : 6.5.4
nbformat : 5.7.0
notebook : 6.5.2
qtconsole : not installed
traitlets : 5.7.1

Have latest version of Anaconda installed.
Using: conda (see below for commands)

Result: nbextensions cannot be seen in GUI and the http:/ localhost8888 / nbextensions command give blank page. Rebooting does nothing.

However, nbextensions folder now very much exists at anaconda3/share/jupyter/nbextensions

Various commands tried in terminal to download and install nbextensions:

conda install -c conda-forge jupyter_contrib_nbextensions

jupyter contrib nbextension install --user

conda install -c conda-forge/label/cf202003 jupyter_contrib_nbextensions

Thanks!
Kevin

@aiyinyuedejustin
Copy link

m1 pro macbook pro, same issue here

@kevinbleakley
Copy link
Author

Hi, somehow (not sure how) I ended up succeeding. I installed Anaconda. I then created a new working Environment directly in the Anaconda GUI (i.e., not using even a Terminal). I then set up this environment by installing all the packages I need. I then opened a terminal window in this new Environment. I then used the command: conda install -c "conda-forge/label/cf201901" jupyter_contrib_nbextensions (from this page, even though it says for x-64 mac: https://anaconda.org/conda-forge/jupyter_contrib_nbextensions ). I then closed everything and rebooted my Mac. At this point, when I again went to my environment in Anaconda, and opened a Jupyter Notebook (I had to install Jupyter Notebook for this environment, even though it is already connected to the base environment, which sounds dumb but voila), I then had the nbextensions tab now appear in the first jupyter webpage that opens. You then have to unselect the fact that none of the extensions in theory work for your Mac. And then, for example, activate the toc2 extension (table of contents). You may have to close and open again, or restart the kernel in your actual Jupyter notebook to get the extension functioning. Good luck! You'll need it.

@Nikeshbajaj
Copy link

I tried same, created new enviroment with GUI as @kevinbleakley suggested, then open a terminal with new evn, installed
conda install -c conda-forge jupyter_contrib_nbextensions.

In new env, nbextensions is working, that to only if I launch jupyter-notebook from new env (not by changing in 'change Kernel' option). And in my base env, this is still not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants