anaconda / nbpresent

next generation slides for Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
163 stars 23 forks source link

nbpresent button not showing after install (OSX 10.11.5, Anaconda 4.2.9, nbpresent 3.0.2, Python 2.7.12) #88

Open linwoodc3 opened 8 years ago

linwoodc3 commented 8 years ago

Greetings:

My nbextension install is not showing up in the top toolbar of my Jupyter notebook. I've tried several things to include the conda install:

conda install nbpresent

and the pip install method

pip install nbpresent
jupyter nbextension install nbpresent --py --overwrite
jupyter nbextension enable nbpresent --py
jupyter serverextension enable nbpresent --py

Despite the extension showing up in my conda list output:

screen shot 2016-10-08 at 9 37 50 am

It does not show up in my toolbar:

screen shot 2016-10-08 at 9 34 00 am

Here is the output when I launch Jupyter Notebook:

screen shot 2016-10-08 at 9 34 14 am

Any suggestion on what I can do?

R-Broadley commented 7 years ago

I have the same issue nbpresent 3.0.2, Anaconda 4.3.1, Python 3.5.2 and Julia 0.5 with IJulia and Python 2.7. Using Mac OS 10.10.5.

pka32 commented 7 years ago

Same issue, Was anyone able to get a solution?

AmokHuginnsson commented 7 years ago

Same here, Ubuntu 17.10, python 3.5.3, installed with pip3 9.0.1, jupyter version 4.3.0, jupyter-notebook version 5.0.0

martin-spott commented 7 years ago

I had the same issue using Mac OS 10.12.6, running notebook server 5.0.0 with Python 3.6.1 and Anaconda 4.4.0.

I read and fiddled around a lot and finally got it working. For the initial installation I used

conda install -c conda-forge nbpresent and also conda install nbpresent

on top of it - neither brought up the buttons to edit or show the slides.

After two days of unsuccessfully trying things I installed RISE, a "live" Reveal.js Jupyter/IPython Slideshow Extension using conda install -c damianavila82 rise

See https://github.com/damianavila/RISE for more information.

Restarting the notebook server I could now build slideshows using Reveal/RISE and run them with an associated new button next to all the other ones. Still, the nbpresent buttons to edit or show the slides were missing, though.

After reading the instructions to enable an extension on http://jupyter-notebook.readthedocs.io/en/latest/extending/frontend_extensions.html#installing-and-enabling-extensions I ran the following on the command line:

jupyter nbextension enable nbpresent --py which apparently does the same as jupyter nbextension enable nbpresent/js/nbpresent.min

I know that @linwoodc3 has mentioned and run the first command, also I see it the yaml configuration files for nbpresent, i.e. I would have expected them to be run during installation anyway. In other words, I am not sure why running them manually made a difference for me.

I do not know, if installing RISE changed something in the configuration and I do not want to redo all the steps to test it.

Both commands above add the following to the configuration file notebook.json, which is in the folder ~/.jupyter/nbconfig on my machine.

{
    ...
    "load_extensions": {
    ...
    "nbpresent/js/nbpresent.min": true
  },
  ...
}

Anyway, I now have all the nbpresent buttons. Good luck to all of you (@linwoodc3, @R-Broadley, @jaknap32, @AmokHuginnsson).

pka32 commented 7 years ago

thank you very much @martin-spott 👍 working for mee too!! :)