Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202233

Re: jupyter notebook immediately crashes with dead kernel

From "D. R. Evans" <doc.evans@gmail.com>
Newsgroups linux.debian.user
Subject Re: jupyter notebook immediately crashes with dead kernel
Date 2018-11-07 17:30 +0100
Message-ID <wRySm-ln-5@gated-at.bofh.it> (permalink)
References (1 earlier) <wQXzr-3hy-1@gated-at.bofh.it> <wQYc9-3Jq-5@gated-at.bofh.it> <wRaZH-2Nl-1@gated-at.bofh.it> <wRx9T-7IF-3@gated-at.bofh.it> <wRyfE-8l9-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

finn wrote on 11/07/2018 08:45 AM:
> Solution 1:
> sudo apt purge python3-ipykernel
> sudo apt install python3-ipykernel
> 
> Solution 2:
> OR, purge python-notebook package and install it again, it will automatically install ipykernel package while resolving its dependency.
> sudo apt purge python-notebook
> sudo apt install python-notebook
> 
> Should fix you're issue.
> 

Nope. They don't. I reinstalled a few times while figuring out what the real
issue is.

> By the way, installing python-notebook from official debian repo(http://deb.debian.org/debian) works for me without a singal error.
> 

Perhaps you don't have python2 installed. The official stable package looks
like it probably works fine if you don't have python2 installed.

But if you do have both official pythons installed from the stable
repositories, as I do, then /usr/bin/python points to python2 (at least it
does here) so that when jupyter tries to create a python3 notebook and
executes "python", then it executes python2,not python3, and hence there's a
rapid failure.

Easy to fix, per bug 913110, but it /is/ a bug.

  Doc

-- 
Web:  http://enginehousebooks.com/drevans

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

jupyter notebook immediately crashes with dead kernel "D. R. Evans" <doc.evans@gmail.com> - 2018-11-06 01:10 +0100
  Re: jupyter notebook immediately crashes with dead kernel vipul kumar <finn98@protonmail.com> - 2018-11-06 01:40 +0100
    Re: jupyter notebook immediately crashes with dead kernel "D. R. Evans" <doc.evans@gmail.com> - 2018-11-06 02:20 +0100
      Re: jupyter notebook immediately crashes with dead kernel "D. R. Evans" <doc.evans@gmail.com> - 2018-11-06 16:00 +0100
        Re: jupyter notebook immediately crashes with dead kernel "D. R. Evans" <doc.evans@gmail.com> - 2018-11-07 15:40 +0100
          Re: jupyter notebook immediately crashes with dead kernel finn <finn98@protonmail.com> - 2018-11-07 16:50 +0100
            Re: jupyter notebook immediately crashes with dead kernel "D. R. Evans" <doc.evans@gmail.com> - 2018-11-07 17:30 +0100

csiph-web