From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#30921: Jupyter uses the wrong Python. Date: Sat, 24 Mar 2018 11:19:55 +0100 Message-ID: <87tvt5ixmc.fsf@elephly.net> References: 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]:40025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezgIN-0003Sh-7B for bug-guix@gnu.org; Sat, 24 Mar 2018 06:21:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezgII-0001Py-98 for bug-guix@gnu.org; Sat, 24 Mar 2018 06:21:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42567) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ezgII-0001PY-65 for bug-guix@gnu.org; Sat, 24 Mar 2018 06:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ezgII-0000rr-0c for bug-guix@gnu.org; Sat, 24 Mar 2018 06:21:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Fis Trivial Cc: 30921@debbugs.gnu.org Fis Trivial writes: > When running jupyter, it seems that the python in "/usr/bin/python" > instead of the one in store is used. Here is the complete logging of > jupyter console output, notice those line in the middle, where displaying= : > "/usr/bin/python: No module named ipykernel_launcher" I wonder if that=E2=80=99s by design. As far as I understand Jupyter can b= e used with many different kernels, including different versions of Python. This means that we may not limit it to just a single version of Python at build time. Is this correct? I do agree, though, that the default doesn=E2=80=99t seem right. As long a= s a user can override the kernel to use a different Python than the one we configured at build time, I think we should default to the current version of Python in Guix. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net