<div dir="ltr"><div>I agree that it would be relevant to have some language information in the metadata of the ipynb file, but not directly the backend name, to allow concurrent backends to coexist for a given language. </div>

<div>This would be very useful to people developing kernels. </div><div>The different backends could be registered in ipython_notebook_config.py</div><div>   -the executable </div><div>   -the name of the corresponding language</div>
<div>   -a short user-friendly name for the backend . </div><div>When opening a notebook from the dashboard, a warning could be triggered or a choice could be given depending on whether multiple or no backend is available. </div>
<div>Cheers, </div>
<div><br></div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 8, 2014 at 1:44 PM, Matthias Bussonnier <span dir="ltr"><<a href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It does work in here.<br>
<br>
You need to install IJulia from within a Julia repl.<br>
<br>
> Pkg.add('IJulia')<br>
<br>
IJulia should create the julia profile by itself during the install. IIRC you can use<br>
<br>
> Pkg.build('IJulia')<br>
<br>
to be sure.<br>
<br>
you can then  start ipython --profile=julia with --debug flag to get more info :<br>
<br>
<br>
in particular you want line like :<br>
<br>
[ZMQTerminalIPythonApp] {'BaseIPythonApplication': {'profile': 'julia'}, 'Application': {'log_level': 10},<br>
        'KernelManager': {'kernel_cmd': ['~/julia/usr/bin/julia', '-F', '~/.julia/IJulia/src/kernel.jl', '{connection_file}']<br>
}}<br>
<br>
below  is the full output for me (in IPython 3.0):<br>
--<br>
M<br>
<br>
$ ipython console --profile=julia --debug<br>
<br>
[ZMQTerminalIPythonApp] Config changed:<br>
[ZMQTerminalIPythonApp] {'BaseIPythonApplication': {'profile': 'julia'}, 'Application': {'log_level': 10}}<br>
[ZMQTerminalIPythonApp] IPYTHONDIR set to: /Users/bussonniermatthias/.ipython<br>
[ZMQTerminalIPythonApp] Using existing profile dir: '/Users/bussonniermatthias/.ipython/profile_julia'<br>
[ZMQTerminalIPythonApp] Searching path ['/Users/bussonniermatthias/dissertation', '/Users/bussonniermatthias/.ipython/profile_julia'] for config files<br>
[ZMQTerminalIPythonApp] Attempting to load config file: ipython_config.py<br>
[ZMQTerminalIPythonApp] Loaded config file: /Users/bussonniermatthias/.ipython/profile_julia/ipython_config.py<br>
[ZMQTerminalIPythonApp] Config changed:<br>
[ZMQTerminalIPythonApp] {'BaseIPythonApplication': {'profile': 'julia'}, 'Application': {'log_level': 10}, 'KernelManager': {'kernel_cmd': ['/Users/bussonniermatthias/julia/usr/bin/julia', '-F', '/Users/bussonniermatthias/.julia/IJulia/src/kernel.jl', '{connection_file}']}}<br>

[ZMQTerminalIPythonApp] Attempting to load config file: ipython_console_config.py<br>
[ZMQTerminalIPythonApp] Connection File not found: /Users/bussonniermatthias/.ipython/profile_julia/security/kernel-43123.json<br>
/Users/bussonniermatthias/ipython/IPython/kernel/manager.py:87: UserWarning: Setting kernel_cmd is deprecated, use kernel_spec to start different kernels. # you shouldn't get that in 2.0.<br>
  warnings.warn("Setting kernel_cmd is deprecated, use kernel_spec to "<br>
[ZMQTerminalIPythonApp] Connecting to: tcp://<a href="http://127.0.0.1:51318" target="_blank">127.0.0.1:51318</a><br>
[ZMQTerminalIPythonApp] connecting shell channel to tcp://<a href="http://127.0.0.1:51315" target="_blank">127.0.0.1:51315</a><br>
[ZMQTerminalIPythonApp] connecting iopub channel to tcp://<a href="http://127.0.0.1:51316" target="_blank">127.0.0.1:51316</a><br>
[ZMQTerminalIPythonApp] connecting stdin channel to tcp://<a href="http://127.0.0.1:51317" target="_blank">127.0.0.1:51317</a><br>
[ZMQTerminalIPythonApp] connecting heartbeat channel to tcp://<a href="http://127.0.0.1:51319" target="_blank">127.0.0.1:51319</a><br>
IPython Console 3.0.0-dev<br>
<br>
IPython profile: julia<br>
<br>
[ZMQTerminalIPythonApp] Loading IPython extensions...<br>
[ZMQTerminalIPythonApp] Loading IPython extension: storemagic<br>
[ZMQTerminalIPythonApp] Starting IPython's mainloop...<br>
Starting kernel event loops.<br>
<div class=""><br>
In [1]: 2<br>
Out[1]: 2<br>
<br>
In [2]: ans<br>
</div>Out[2]: 2<br>
<br>
In [3]:<br>
<br>
Le 8 juil. 2014 à 19:31, William Stein a écrit :<br>
<div class="HOEnZb"><div class="h5"><br>
> Hi,<br>
><br>
> I keep getting requests for IJulia<br>
> (<a href="https://github.com/JuliaLang/IJulia.jl" target="_blank">https://github.com/JuliaLang/IJulia.jl</a>) support in SageMathCloud.<br>
><br>
> However, all my many attempts to get anywhere with IJulia so far have<br>
> completely failed, and I have no clue even how to successfully install<br>
> it.  I've tried the directions, which all seem to work with no errors.<br>
> However, the end result is that things just don't work at all.  In<br>
> particular, despite IPython claiming to load with the 'julia' profile,<br>
> it's still just plain ipython (in julia ans would be 2 below):<br>
><br>
> ~/salvus/salvus$ ipython console --profile julia<br>
> Python 2.7.5 (default, May  5 2014, 17:28:45)<br>
> Type "copyright", "credits" or "license" for more information.<br>
> IPython 2.1.0 -- An enhanced Interactive Python.<br>
> IPython profile: julia<br>
> In [1]: 2<br>
> Out[1]: 2<br>
> In [2]: ans<br>
> ---------------------------------------------------------------------------<br>
> NameError                                 Traceback (most recent call last)<br>
><br>
><br>
><br>
> QUESTION: Does anybody reading this use IJulia?  Is it even supposed<br>
> to work with IPython 2.1?<br>
><br>
> -- William<br>
><br>
><br>
> --<br>
> William Stein<br>
> Professor of Mathematics<br>
> University of Washington<br>
> <a href="http://wstein.org" target="_blank">http://wstein.org</a><br>
> _______________________________________________<br>
> IPython-dev mailing list<br>
> <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br></div>