Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting it to work on Windows #45

Open
olexandr-konovalov opened this issue Jun 6, 2018 · 7 comments
Open

Getting it to work on Windows #45

olexandr-konovalov opened this issue Jun 6, 2018 · 7 comments
Assignees
Labels
os: windows Issues specifically on Windows OS topic: installation

Comments

@olexandr-konovalov
Copy link
Member

In the past, I was able to use Docker on Windows to connect to GAP running in the container from the browser running under Windows. I hope that by building needed packages and including further DLLs in the Windows GAP distribution we may get a working version under Windows that does not require Docker.

@markuspf
Copy link
Member

markuspf commented Jun 6, 2018

I am not sure what the JupyterKernel issue is that we want to address?

@olexandr-konovalov
Copy link
Member Author

TODO: test its usability under Windows.

@olexandr-konovalov olexandr-konovalov self-assigned this Jun 6, 2018
@olexandr-konovalov
Copy link
Member Author

The current state of this is to get ZeroMQInterface package built under Cygwin: see gap-packages/ZeroMQInterface#23

@olexandr-konovalov olexandr-konovalov changed the title How does this work on Windows? Getting it to work on Windows Jul 3, 2018
@olexandr-konovalov
Copy link
Member Author

As reported in #76, one can successfully use JupyterKernel on Windows 10 after installing GAP in the Linux subsystem.

@olexandr-konovalov
Copy link
Member Author

I have now a new Windows 10 VM with an up to date Cygwin installation. It compiles all JupyterKernel dependencies. I have also installed Python using Anaconda, and run python setup.py install so it now offers the GAP kernel. The latter does not start however. Of course, one can't run jupyter-kernel-gap in the Windows shell, but it seems that the major obstacle is not there, but in using IO_fork:

gap> JUPYTER_KernelStart_GAP("C:/Users/alexk/AppData/Roaming/jupyter/runtime/kernel-37253dce-ab6f-49b9-8a88-7f2d4c63d19a.json");
      1 [main] gap 3254 child_info_fork::abort: address space needed by 'zeromqinterface.so' (0x1470000) is already occupied
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `Run' on 1 arguments
The 1st argument is 'fail' which might point to an earlier problem

@markuspf
Copy link
Member

With the now evolving py-gap package, it will be much easier to handle the Jupyter protocol from python and dump GAP implemementation of it. That gets rid of IO_fork and other crud.

@olexandr-konovalov
Copy link
Member Author

@ZachNewbery reports using it on Windows 10 by installing GAP under WSL. This will be advised in one of the coming documentation updates.

@ZachNewbery ZachNewbery added topic: installation os: windows Issues specifically on Windows OS labels Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: windows Issues specifically on Windows OS topic: installation
Projects
None yet
Development

No branches or pull requests

3 participants