python 2 kernel keeps dying

asked 2017-05-09 09:01:26 +0100

stan gravatar image

updated 2024-08-26 11:19:08 +0100

FrédéricC gravatar image

I have SageMath 7.3 installed from binaries and 7.6 compiled from source on my debian linux system, but in both, the python 2 kernel keeps dying when I use it in jupyter. It just dies, restarts, dies etc., making it entirely unusable. Did anyone experience this problem before? What could I do to get it to run? Thanks for your help!

edit retag flag offensive close merge delete

Comments

i had a similar issue in the past (kernel dies, restarts, dies etc) with SageMath 7.5.1. the problem arises if i open the kernel (sage -n jupyter) in the same directory as a custom Sage package (meaning there are some .py files and an __init__.py, and the package is also available as from xx import yy). don't know what is the real cause of the problem, but it is solved if i start the notebook from another directory (eg. the parent directory). maybe this applies to your case too?

mforets gravatar imagemforets ( 2017-05-09 10:18:47 +0100 )edit

Thanks, but even if I start it from the home directory, I get the same problem, even when using the freshly downloaded sage-7.6-Debian_GNU_Linux_8-x86_64.tar.bz2

stan gravatar imagestan ( 2017-05-09 11:22:50 +0100 )edit