Closed xusun2805 closed 7 years ago
I installed via the manual method of python setup.py install
Since you are using anaconda/conda, why didn't you install it with conda?
Is there any output in the javascript console in the browser?
Additionally, which notebook and browser versions are you using?
Can you give me the output of jupyter nbextension list
and jupyter serverextension list
?
Thanks!
Hi Damian,
Thanks for your prompt reply.
IPython.version
_info returns (4, 2, 0, '')
. Browser is Google Chrome Version 51.0.2704.106 m (64-bit).jupyter nbextension list
returns:
(C:\FAST\anacondaforPython2.7\4.1.1) C:\Users\R623414>jupyter nbextension list Known nbextensions: config dir: C:\FAST\anacondaforPython2.7\4.1.1\etc\jupyter\nbconfig notebook section nb_anacondacloud/main enabled
and `jupyter serverextension list` returns:
(C:\FAST\anacondaforPython2.7\4.1.1) C:\Users\R623414>jupyter serverextension li st config dir: C:\FAST\anacondaforPython2.7\4.1.1\etc\jupyter nbpresent enabled
Thanks!
OK, it seems the installation was not successful because it is not finding reveal.js components.
Can you list and show me the files in C:\FAST\anacondaforPython2.7\4.1.1\share\jupyter\nbextensions\rise\
?
For instance, in my case (but I am on linux not win):
$ tree /home/damian/miniconda3/envs/rise_test/share/jupyter/nbextensions/rise//home/damian/miniconda3/envs/rise_test/share/jupyter/nbextensions/rise/
├── main.css
├── main.js
└── reveal.js
├── bower.json
├── CONTRIBUTING.md
├── css
│ ├── print
│ │ ├── paper.css
│ │ └── pdf.css
│ ├── reveal.css
│ ├── reveal.scss
│ └── theme
│ ├── beige.css
│ ├── black.css
│ ├── blood.css
│ ├── league.css
│ ├── moon.css
│ ├── night.css
│ ├── README.md
│ ├── serif.css
│ ├── simple.css
│ ├── sky.css
│ ├── solarized.css
│ ├── source
│ │ ├── beige.scss
│ │ ├── black.scss
│ │ ├── blood.scss
│ │ ├── league.scss
│ │ ├── moon.scss
│ │ ├── night.scss
│ │ ├── serif.scss
│ │ ├── simple.scss
│ │ ├── sky.scss
│ │ ├── solarized.scss
│ │ └── white.scss
│ ├── template
│ │ ├── mixins.scss
│ │ ├── settings.scss
│ │ └── theme.scss
│ └── white.css
├── demo.html
├── Gruntfile.js
├── index.html
├── js
│ └── reveal.js
├── lib
│ ├── css
│ │ └── zenburn.css
│ ├── font
│ │ ├── league-gothic
│ │ │ ├── league-gothic.css
│ │ │ ├── league-gothic.eot
│ │ │ ├── league-gothic.ttf
│ │ │ ├── league-gothic.woff
│ │ │ └── LICENSE
│ │ └── source-sans-pro
│ │ ├── LICENSE
│ │ ├── source-sans-pro.css
│ │ ├── source-sans-pro-italic.eot
│ │ ├── source-sans-pro-italic.ttf
│ │ ├── source-sans-pro-italic.woff
│ │ ├── source-sans-pro-regular.eot
│ │ ├── source-sans-pro-regular.ttf
│ │ ├── source-sans-pro-regular.woff
│ │ ├── source-sans-pro-semibold.eot
│ │ ├── source-sans-pro-semibolditalic.eot
│ │ ├── source-sans-pro-semibolditalic.ttf
│ │ ├── source-sans-pro-semibolditalic.woff
│ │ ├── source-sans-pro-semibold.ttf
│ │ └── source-sans-pro-semibold.woff
│ └── js
│ ├── classList.js
│ ├── head.min.js
│ └── html5shiv.js
├── LICENSE
├── package.json
├── plugin
│ ├── highlight
│ │ └── highlight.js
│ ├── markdown
│ │ ├── example.html
│ │ ├── example.md
│ │ ├── markdown.js
│ │ └── marked.js
│ ├── math
│ │ └── math.js
│ ├── multiplex
│ │ ├── client.js
│ │ ├── index.js
│ │ ├── master.js
│ │ └── package.json
│ ├── notes
│ │ ├── notes.html
│ │ └── notes.js
│ ├── notes-server
│ │ ├── client.js
│ │ ├── index.js
│ │ └── notes.html
│ ├── print-pdf
│ │ └── print-pdf.js
│ ├── search
│ │ └── search.js
│ └── zoom-js
│ └── zoom.js
├── README.md
└── test
├── examples
│ ├── assets
│ │ ├── image1.png
│ │ └── image2.png
│ ├── barebones.html
│ ├── embedded-media.html
│ ├── math.html
│ ├── slide-backgrounds.html
│ └── slide-transitions.html
├── qunit-1.12.0.css
├── qunit-1.12.0.js
├── simple.md
├── test.html
├── test.js
├── test-markdown-element-attributes.html
├── test-markdown-element-attributes.js
├── test-markdown-external.html
├── test-markdown-external.js
├── test-markdown.html
├── test-markdown.js
├── test-markdown-options.html
├── test-markdown-options.js
├── test-markdown-slide-attributes.html
├── test-markdown-slide-attributes.js
├── test-pdf.html
└── test-pdf.js
26 directories, 106 files
Yeah. I just took a look. There is only a single file main.js
under that path. Is that the problem? Shall I go ahead to re-install or any other solutions?
Thanks!
You should try to re-install and see if you can catch why the installation is failing to copy the files into that location. Can you try with pip in a local setup instead of python setup.py install
.
Follow this section: https://github.com/damianavila/RISE#development, all the step described there. You will need nodejs, hopefully you have it available. Alternatively, you can build locally the conda package using the conda.recipe
and then try to install it from that local copy.
Closing for now, please feel free to comment if you have further questions or doubts. Thanks.
Here is my npextention list result:
I installed via the manual method of
python setup.py install
. Here is a screenshot of the result after I entered live review slide show. What might be causing this kind of problem?