unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* IPython native kernel missing?
@ 2015-09-21 15:28 Ricardo Wurmus
  2015-09-21 21:52 ` Craig Barneses
  2015-09-21 22:06 ` Craig Barnes
  0 siblings, 2 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2015-09-21 15:28 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

I’m trying to package Jupyter (an improved version of IPython, from what
I’ve heard) and noticed that the tests for jupyter-client fail because
the native “python3” (or “python2”) kernel cannot be found.  According
to the documentation, this “kernel” should always be available and
doesn’t need to be installed.

Looking around in the sources of python-ipython (an input to the Jupyter
packages I’m working on) I see that this file

    $out/lib/python2.7/site-packages/IPython/kernel/kernelspec.py

contains hard-coded system paths:

    SYSTEM_KERNEL_DIRS = ["/usr/share/jupyter/kernels",
                          "/usr/local/share/jupyter/kernels",
                         ]

Yet I have not found any directory named “kernels” in the output of the
python-ipython package.  Nor have I found any “kernel.json” files.  It
seems to me that IPython should install at least the native kernel at
some point, but currently doesn’t seem to include it.

I would like to fix this, but I really don’t know anything about IPython
and I don’t even know what the word “kernel” describes in this context.
Could someone with an understanding of IPython please take a look at
this?

~~ Ricardo

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-22  7:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-21 15:28 IPython native kernel missing? Ricardo Wurmus
2015-09-21 21:52 ` Craig Barneses
2015-09-21 22:06 ` Craig Barnes
2015-09-22  6:37   ` Ricardo Wurmus
2015-09-22  7:08     ` Craig Barnes

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).