0

我想在 Sage 中使用的函数会引发异常,因为它缺少 GAP 的包“ HAP ”。我可以下载这个包,但是我不知道如何让 Sage 识别它。

4

2 回答 2

0

Well, to answer myself, the relevant page is this.

To install one of these packages, type e.g., the following at the UNIX shell prompt:

    sage -i db-jones-2005-11-02

Note that the package name contains the version number, and it will be downloaded automatically if necessary.

于 2012-01-30T13:26:26.987 回答
0

你可以输入

sage -optional

获取可选 sage 包的列表。像安装它们

sage -i database_gap

PS:如果你的下载速度很慢,请进入 sage 镜像上的 packages 目录。然后复制/粘贴完整的 URL。

于 2012-05-17T21:34:53.187 回答