ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 09 May 2018 03:04:01 +0200how to add julia sage notebook?https://ask.sagemath.org/question/32324/how-to-add-julia-sage-notebook/ how to add julia in sagemath notebook?Sun, 24 Jan 2016 00:01:28 +0100https://ask.sagemath.org/question/32324/how-to-add-julia-sage-notebook/Answer by slelievre for <p>how to add julia in sagemath notebook?</p>
https://ask.sagemath.org/question/32324/how-to-add-julia-sage-notebook/?answer=32328#post-id-32328# Using Julia Jupyter notebooks with SageMath
Julia is not shipped with SageMath, but it is installed on SageMathCloud at http://cloud.sagemath.com.
## In SageMathCloud at http://cloud.sagemath.com/
On SageMathCloud at http://cloud.sagemath.com/, just
- open a Jupyter notebook,
- select the menu item "Change kernel > Julia".
## On your own computer
On your own computer, I can see two ways for you to go, which I have not tested
but I think could work.
The hard way would be to **install SageMathCloud on your computer**.
See instructions and discussions on
[sage-cloud](https://groups.google.com/forum/#!forum/sage-cloud) and
[sage-cloud-devel](https://groups.google.com/forum/#!forum/sage-cloud-devel).
The easier way would be to just **install Sage and Julia and make them work together**.
For that, you would need to
- have an executable `jupyter` in your PATH, which would really launch `sage -n jupyter`
- in Julia,
[install the IJulia package](https://github.com/JuliaLang/IJulia.jl#installation).Sun, 24 Jan 2016 20:52:17 +0100https://ask.sagemath.org/question/32324/how-to-add-julia-sage-notebook/?answer=32328#post-id-32328Comment by kcrisman for <h1>Using Julia Jupyter notebooks with SageMath</h1>
<p>Julia is not shipped with SageMath, but it is installed on SageMathCloud at <a href="http://cloud.sagemath.com">http://cloud.sagemath.com</a>.</p>
<h2>In SageMathCloud at <a href="http://cloud.sagemath.com/">http://cloud.sagemath.com/</a></h2>
<p>On SageMathCloud at <a href="http://cloud.sagemath.com/">http://cloud.sagemath.com/</a>, just</p>
<ul>
<li>open a Jupyter notebook,</li>
<li>select the menu item "Change kernel > Julia".</li>
</ul>
<h2>On your own computer</h2>
<p>On your own computer, I can see two ways for you to go, which I have not tested
but I think could work.</p>
<p>The hard way would be to <strong>install SageMathCloud on your computer</strong>.</p>
<p>See instructions and discussions on
<a href="https://groups.google.com/forum/#!forum/sage-cloud">sage-cloud</a> and
<a href="https://groups.google.com/forum/#!forum/sage-cloud-devel">sage-cloud-devel</a>.</p>
<p>The easier way would be to just <strong>install Sage and Julia and make them work together</strong>.</p>
<p>For that, you would need to</p>
<ul>
<li>have an executable <code>jupyter</code> in your PATH, which would really launch <code>sage -n jupyter</code></li>
<li>in Julia,
<a href="https://github.com/JuliaLang/IJulia.jl#installation">install the IJulia package</a>.</li>
</ul>
https://ask.sagemath.org/question/32324/how-to-add-julia-sage-notebook/?comment=32337#post-id-32337Is there any way to use the ipynb shipped with Sage with a self-installed Julia?Tue, 26 Jan 2016 18:20:18 +0100https://ask.sagemath.org/question/32324/how-to-add-julia-sage-notebook/?comment=32337#post-id-32337Comment by slelievre for <h1>Using Julia Jupyter notebooks with SageMath</h1>
<p>Julia is not shipped with SageMath, but it is installed on SageMathCloud at <a href="http://cloud.sagemath.com">http://cloud.sagemath.com</a>.</p>
<h2>In SageMathCloud at <a href="http://cloud.sagemath.com/">http://cloud.sagemath.com/</a></h2>
<p>On SageMathCloud at <a href="http://cloud.sagemath.com/">http://cloud.sagemath.com/</a>, just</p>
<ul>
<li>open a Jupyter notebook,</li>
<li>select the menu item "Change kernel > Julia".</li>
</ul>
<h2>On your own computer</h2>
<p>On your own computer, I can see two ways for you to go, which I have not tested
but I think could work.</p>
<p>The hard way would be to <strong>install SageMathCloud on your computer</strong>.</p>
<p>See instructions and discussions on
<a href="https://groups.google.com/forum/#!forum/sage-cloud">sage-cloud</a> and
<a href="https://groups.google.com/forum/#!forum/sage-cloud-devel">sage-cloud-devel</a>.</p>
<p>The easier way would be to just <strong>install Sage and Julia and make them work together</strong>.</p>
<p>For that, you would need to</p>
<ul>
<li>have an executable <code>jupyter</code> in your PATH, which would really launch <code>sage -n jupyter</code></li>
<li>in Julia,
<a href="https://github.com/JuliaLang/IJulia.jl#installation">install the IJulia package</a>.</li>
</ul>
https://ask.sagemath.org/question/32324/how-to-add-julia-sage-notebook/?comment=42297#post-id-42297Yes. Find out where the IJulia kernel is, and do
/path/to/sagedir/local/bin/jupyter kernelspec install /path/to/IJulia_kernel
where `/path/to/sagedir` is the location of your Sage installation,
and `/path/to/IJulia_kernel` is the location of the IJulia kernel.Wed, 09 May 2018 03:04:01 +0200https://ask.sagemath.org/question/32324/how-to-add-julia-sage-notebook/?comment=42297#post-id-42297