Skip to content

Can this be made to work on Windows? #140

Description

@NeilStrickland

I installed GAP on Windows using the installer at https://www.gap-system.org/install/windows/. This creates a Unix-like file system under Program Files\Gap-4.15.1\runtime, with subdirectories bin, usr etc. , including opt\gap-4.15.1\pkg. I checked that GAP works correctly in a terminal. However, I would prefer to use it in a Jupyter notebook in VS Code, so I tried at some length to get the Jupyter kernel to work, but did not succeed. That is a shame because I think it could probably be done without too many changes by someone more expert than me. The first issue is that pip puts jupyter-kernel-gap in the Python Scripts directory, but that is a bash script which cannot easily be run in Windows. I made an equivalent .bat file and changed kernel.json to point to it. After some further tweaks to kernel.json I got to the stage where the script Program Files\Gap-4.15.1\gap.bat was being run, but somehow the relative path .\cygstart in that file was not being resolved correctly, and my attempts to work around that failed with errors that I was not able to interpret. One could perhaps also modify kernel.json in a different way so that it runs the original jupyter-kernel-gap using the version of bash that is packaged with GAP, but I did not try that yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions