It turns out that there are three packages concerned with gap in conda
- gap-core : only the gap executable
- gap-defaults : a tiny subset of gap packages
- gap : all packages (that build)

Installing gap solved my issue!

On Fri, 7 Mar 2025 at 09:31, Vincent Delecroix
<20100.delecr...@gmail.com> wrote:
>
> Thanks Dima for the pointers.
>
> Note that it does not exactly solve the issue in the "dirty short term
> way" since images depends on ferret which contains C++ code.
>
> On Thu, 6 Mar 2025 at 16:08, Dima Pasechnik <dimp...@gmail.com> wrote:
> >
> > On Thu, Mar 6, 2025 at 3:21 AM Vincent Delecroix
> > <20100.delecr...@gmail.com> wrote:
> >
> > > I have code relying on the GAP package Images
> > > (https://gap-packages.github.io/images/doc/chap0_mj.html). Short
> > > version of the question : is there a (dirty short term or clean long
> > > term) solution for having a working Images gap package in a conda
> > > install of SageMath?
> >
> > Images is just GAP code, so installing it just needs putting the
> > source in an appropriate directory.
> > E.g. GAP's PackageManager (which is itself a GAP package) should be
> > able to install it for you without
> > problems.
> > Or you can put it manually in ~/.gap/pkg/
> > - or in <whatever prefix>/pkg/ - where you other GAP packages are.
> > >
> > > It does work when I use my (arch) system sage after installing
> > > gap-packages with pacman and also from source (since the SageMath
> > > gap_packages include Images). However
> > >
> > > - Images is not listed in the documentation
> > > https://doc.sagemath.org/html/en/reference/spkg/gap_packages.html
> > > which is confusing. Why don't we have the full list in
> > > src/buipkd/gap_packages/SPKG.rst?
> >
> > probably an oversight - we keep adding packages to gap_packages in an
> > ad hoc manner.
> >
> > >
> > > - there does not seem to be a way to install the gap packages in
> > > conda, is there?
> >
> > In principle, you can install (for your user) any GAP package in ~/.gap/pkg/
> > (if it needs building, you'd need to figure out where the appropriate
> > GAP configs file (called sysinfo.gap) lives,
> > and pass this location to the package's configure)
> >
> > HTH
> > Dima
> >
> > >
> > > Best
> > > Vincent
> > >
> > > --
> > > 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+unsubscr...@googlegroups.com.
> > > To view this discussion visit 
> > > https://groups.google.com/d/msgid/sage-devel/CAGEwAA%3DH2oEdrhzCiWwtX6H-f1miBApAS191YfespwTqDF7XOQ%40mail.gmail.com.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/CAGEwAAmtPgKeOtsO1eFMyrfV6NpU5_EvPtCDzQPKX4fHv9jYrQ%40mail.gmail.com.

Reply via email to