Open jlperla opened 7 years ago
@jlperla, this is probably because of #315. I have already built new packages, check this message: https://github.com/damianavila/RISE/issues/315#issuecomment-342707972
@damianavila Thanks for the response. I am using this within JuliaPro, which doesn't seem to let me get full conda access. Is there some variation of the
using Conda
Conda.add_channel("damianavila82")
Conda.add("rise")
that would work?
I guess you can try:
Conda.add_channel("damianavila82/channel/dev")
Or wait for me to publish those packages in the main channel... and your lines should work. I will push the packages to main most probably tonight.
@damianavila I am in no rush and will wait. Thank you so much! If you wish I can close this issue after testing it tomorrow.
If you wish I can close this issue after testing it tomorrow.
That would be great! Thanks.
Works great on the /dev channel, so closing.
Thanks for the info... btw, the new packages are in main right now :wink:
Thanks! I updated my work computer from your main (and tried the /dev for good measure), and (1) the installation appeared to work; (2) The "Slide Type" from the "Cell Type" toolbar is working ... but... the “Enter/Exit Live Reveal Slideshow” button on the toolbar doesn't seem to be there. Any ideas?
Please report the output of the following commands:
jupyter --paths
and
jupyter nbextension list
Additionally, if you open the js console from your browser, what do you get in the console logs?
Thanks.
For the paths:
config:
C:\Users\Jesse Perla\.jupyter
c:\apps\juliapro-0.6.1.1\python\etc\jupyter
C:\ProgramData\jupyter
data:
C:\Users\Jesse Perla\AppData\Roaming\jupyter
c:\apps\juliapro-0.6.1.1\python\share\jupyter
C:\ProgramData\jupyter
runtime:
C:\Users\Jesse Perla\AppData\Roaming\jupyter\runtime
nbextension list:
C:\apps\JuliaPro-0.6.1.1\Python\Scripts>jupyter nbextension list
Known nbextensions:
config dir: C:\Users\Jesse Perla\.jupyter\nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: ok
Sorry, not sure how to look at console logs, but can't find any obvious files. Do I need to turn anything on to make it happen?
Well, I can not see rise in the nbextension list, can you run there:
jupyter nbextension enable rise --py --sys-prefix
The response is
C:\apps\JuliaPro-0.6.1.1\Python\Scripts>jupyter nbextension enable rise --py --sys-prefix
Traceback (most recent call last):
File "runpy.py", line 184, in _run_module_as_main
File "runpy.py", line 85, in _run_code
File "C:\apps\JuliaPro-0.6.1.1\Python\Scripts\jupyter-nbextension.EXE\__main__.py", line 9, in <module>
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\jupyter_core\application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\traitlets\config\application.py", line 658, in launch_instance
app.start()
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\notebook\nbextensions.py", line 988, in start
super(NBExtensionApp, self).start()
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\jupyter_core\application.py", line 256, in start
self.subapp.start()
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\notebook\nbextensions.py", line 896, in start
self.toggle_nbextension_python(self.extra_args[0])
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\notebook\nbextensions.py", line 872, in toggle_nbextension_python
logger=self.log)
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\notebook\nbextensions.py", line 483, in enable_nbextension_python
logger=logger)
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\notebook\nbextensions.py", line 380, in _set_nbextension_state_python
m, nbexts = _get_nbextension_metadata(module)
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\notebook\nbextensions.py", line 1122, in _get_nbextension_metadata
m = import_item(module)
File "c:\apps\juliapro-0.6.1.1\python\lib\site-packages\traitlets\utils\importstring.py", line 42, in import_item
return __import__(parts[0])
ImportError: No module named 'rise'
Just to see the output in Julia console, here is what it says:
julia> Conda.add("rise")
Fetching package metadata .................
Solving package specifications: .
# All requested packages already installed.
# packages in environment at C:\apps\JuliaPro-0.6.1.1\pkgs-0.6.1.1\v0.6\Conda\deps\usr:
#
rise 5.1.0 py27_1 damianavila82
On a fresh installation of JuliaPro 0.6.1.1, I ended up with the same sorts of failures as before.
However, I used the pip
instructions from https://github.com/damianavila/RISE and it seems to work perfectly fine.
However, I used the pip instructions from https://github.com/damianavila/RISE and it seems to work perfectly fine.
Well... it seems to be a problem with the conda packages? I have tested without any issues in win vm, but maybe there is some other interaction when you install inside the Julia environment... I guess I can research a little bit in that environment when I have time. Do you any place where I can go and grab information/instructions to reproduce your installation? Thanks.
The environment is easy to reproduce: fresh install of the (free, MKL version of) JuliaPro from https://shop.juliacomputing.com/Products/ on Windows 10. I am using 0.6.1.1
The better question is whether it is worth your trouble to debug, as it is very likely issues in Julia's Conda packages. My guess is no. Instead, since there is a simple workaround, my suggestion is to add some text below the If you are a Julia user, you can do this from the Julia REPL with
code. Something to the effect of:
If this installation does not work (e.g. the (“Enter/Exit Live Reveal Slideshow”) button is not visible, then run the steps for the
pip
installation described below. It is important to run this within the Jupyter setup used in the Julia installation, for example, on Windows with JuliaPro the directory is something like:C:\JuliaPro-0.6.1.1\Python\Scripts
I am experiencing the exact same issue with the button not showing up in Jupyter. Thank you all for sharing more details, I will try the alternative solutions.
Unfortunately, none of the solutions worked for me. There is some problem with the fact that Conda (or miniconda) is installed locally in Julia on its own folder in the Julia's package directory. This folder is not read by jupyter on start up, and so the notebook.json configuration file where the add-on is listed is not loaded. Maybe this issue could be reopened?
Let's reopen it for further investigation.
After installing JuliaPro 6.0.1, I followed your instructions to startup a REPL and run
It ends up getting through almost all of the installation. Before showing the error, I should note that the file referenced
C:\appsl\JuliaPro-0.6.0.1\pkgs-0.6.0.1\v0.6\Conda\deps\usr\pkgs\rise-5.1.0-py27_0\Scripts\.rise-post-link-script.py
does not exist, but"C:\appsl\JuliaPro-0.6.0.1\pkgs-0.6.0.1\v0.6\Conda\deps\usr\pkgs\rise-5.1.0-py27_0\Scripts\.rise-post-link.sh"
does.The error is: