From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: IPython native kernel missing? Date: Mon, 21 Sep 2015 17:28:08 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze311-00036K-9V for guix-devel@gnu.org; Mon, 21 Sep 2015 11:28:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ze30v-0001Z9-HP for guix-devel@gnu.org; Mon, 21 Sep 2015 11:28:26 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:50090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze30v-0001Yn-6z for guix-devel@gnu.org; Mon, 21 Sep 2015 11:28:21 -0400 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id B0B0D380743 for ; Mon, 21 Sep 2015 17:28:19 +0200 (CEST) Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YRjJCK5j11rI for ; Mon, 21 Sep 2015 17:28:14 +0200 (CEST) Received: from HTCAONE.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP for ; Mon, 21 Sep 2015 17:28:14 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel Hi Guix, I=E2=80=99m trying to package Jupyter (an improved version of IPython, fr= om what I=E2=80=99ve heard) and noticed that the tests for jupyter-client fail be= cause the native =E2=80=9Cpython3=E2=80=9D (or =E2=80=9Cpython2=E2=80=9D) kerne= l cannot be found. According to the documentation, this =E2=80=9Ckernel=E2=80=9D should always be avai= lable and doesn=E2=80=99t need to be installed. Looking around in the sources of python-ipython (an input to the Jupyter packages I=E2=80=99m 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 =3D ["/usr/share/jupyter/kernels", "/usr/local/share/jupyter/kernels", ] Yet I have not found any directory named =E2=80=9Ckernels=E2=80=9D in the= output of the python-ipython package. Nor have I found any =E2=80=9Ckernel.json=E2=80=9D= files. It seems to me that IPython should install at least the native kernel at some point, but currently doesn=E2=80=99t seem to include it. I would like to fix this, but I really don=E2=80=99t know anything about = IPython and I don=E2=80=99t even know what the word =E2=80=9Ckernel=E2=80=9D desc= ribes in this context. Could someone with an understanding of IPython please take a look at this? ~~ Ricardo