python 2 kernel keeps dying

asked 2017-05-09 02:01:26 -0500

stan 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


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, 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 03:18:47 -0500 )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 04:22:50 -0500 )edit