I was asked to install the optional package HAP to the GAP inside SageMath.

I run ./sage -i gap_packages and then followed instructions at https://wiki.sagemath.org/InstallingGapPackages . Now it works from command line, i.e. I can say

gap_console()

and then

LoadPackage("HAP");
F:=FreeGroup(2);; x:=F.1;; y:=F.2;;
G:=F/[x^2,y^201,(x*y)^2];; G:=Image(IsomorphismPermGroup(G));;
GroupHomology(G,99);

and got

[ 2, 3, 67 ]

But from the SageNB I got

#I  MakeReadOnlyGlobal: GradedAlgebraPresentationType no value bound
true

from LoadPackage() and nothing from GroupHomology(G,99).

What to do?

--
Jori Mäntysalo

Reply via email to