Adding a missing GAP package to Sage

喜夏-厌秋 提交于 2021-01-29 16:44:02

问题


A function I want to use in Sage throws an exception because it is missing GAP's package "HAP". I can download this package, but I don't know how to make Sage recognize it.


回答1:


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.




回答2:


you can type in

sage -optional

to get a list of optional sage packages. install them like

sage -i database_gap

PS: if your download is slow, go into the packages directory on a sage mirror. then copy/paste the full URL.



来源:https://stackoverflow.com/questions/9064343/adding-a-missing-gap-package-to-sage

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!