Hello,
I am experiencing an issue using the Guava package in SageMath 10.3 with GAP 4.12.2 installed on my system. The strange part is that Guava works when I use the GAP console inside Sage, but it doesn't work when I try to load it through Sage directly.
The Issue:Changing GAP Binaries: I set the path to the external GAP binary (installed on my system) by updating the SAGE_GAP_BINARY environment variable and running source ~/.bashrc.
Setting Sage to Use My GAP:
Trying to Load Guava:
Error Output:
'fail'Direct GAP Console Access:
Trying GAP Console from Inside Sage:
Guava loads without any errors.
Attempting Additional GAP Functions:
Reinstalling Guava:
Error when loading Guava in Sage:
'fail'Error when trying to add the package directory in GAP:
Error, Variable: 'AddPackageDirectory' must have a valueError when attempting to set the GAP package directory:
[ ]I would really appreciate your help, as I have been trying to resolve this issue for several hours without success. Thank you very much!
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/9a5a7519-e41b-4d7a-afce-0a15d6af4f68n%40googlegroups.com.
Thank you for your reply and assistance; I truly appreciate it. However, I’m unable to get Sage 10.4, at least not through sudo or the binaries. It took me over seven hours to install Sage 10.3 from the source code, so I’m just trying to make it work as best as I can.
Regarding the installation of the gap_packages SPKG, I’m not sure how to proceed. Should I revert the changes I made to the source (specifically the binaries) and restore it to its original state? If so, what exactly should I modify in the line:
Export SAGE_GAP_BINARY="/usr/local/bin/gap"I’m feeling quite confused and would really appreciate your guidance on this. Thank you so much for your valuable help!
Amal