How do I get the kernel to connect to Jupyter notebook with Sage 8.7

asked 2019-05-17 07:00:46 +0100

jimb417 gravatar image

I'm using Fedora 30 and have installed the 64-bit versions of Sagemath and all of the required files. When creating a new notebook, all I get is a message saying the kernel cannot connect and to check my network connection or configuration files. I don't want to use Sage locally and not share notebooks or collaborate with others.

edit retag flag offensive close merge delete

Comments

Could you be more specific? Are you saying you want to host a Jupyter notebook server? To be clear there's nothing about that specific to Sage; it is a general issue. For the most part hosting your own server is not the most effective way to share a notebook.

Iguananaut gravatar imageIguananaut ( 2019-05-18 11:58:18 +0100 )edit

Apparently the problem is with Python 3. I downloaded and compiled the source code for 8.7 and all worked as before as it compiled using Python 2.7.15. Is Sage going to be ported to Python 3?

jimb417 gravatar imagejimb417 ( 2019-05-19 07:54:43 +0100 )edit

What do you mean by "The problem is with Python 3"? How did you install Sage?

Iguananaut gravatar imageIguananaut ( 2019-05-21 14:53:59 +0100 )edit

I installed Sage from Fedora's repositories along with the Jupyter notebook. I launch a new notebook using 8.7 and that's when the error message appears about the connection.

jimb417 gravatar imagejimb417 ( 2019-06-01 06:58:58 +0100 )edit

Does Sage work just by itself? I don't know how it's been packaged for Fedora. It might be a problem with the package? Have you tried running the official binary build of Sage ( http://www.sagemath.org/download-linu... )?

Iguananaut gravatar imageIguananaut ( 2019-06-03 08:09:29 +0100 )edit