如何在 Jupyter 中安装 sagemath 内核 [英] How to install sagemath kernel in Jupyter

查看:68
本文介绍了如何在 Jupyter 中安装 sagemath 内核的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以将 Python 内核与 Jupyter 结合使用.我正在寻找一种在 Jupyter 中使用 sagemath 的方法.我看不到安装它的方法.怎么做?

I could use Python Kernel with Jupyter. I am looking for a way to use sagemath inside Jupyter.I couldnt see a way for installing it. How to do that?

推荐答案

你在倒退;Sage 在其中包含 Jupyter 笔记本,您可以通过这种方式将其与该内核一起使用.(以及其他.)使用

You are going about it backwards; Sage includes the Jupyter notebook inside of it, and you can use it with that kernel that way. (As well as others.) Use

$ sage --notebook ipython

我相信.另请参阅此处.

(我认为也有一些人通过编辑一些文件或配置成功地将他们的 Jupyter 重定向到查看"Sage 内核.在 Arch Linux 这显然是受支持的......?)

(I think there are also some people who have had success redirecting their Jupyter to "see" the Sage kernel by editing some file or configuration. On Arch Linux this is apparently supported ... ?)

这篇关于如何在 Jupyter 中安装 sagemath 内核的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆