gap-packages / JupyterKernel

Native Jupyter kernel for GAP
https://gap-packages.github.io/JupyterKernel/
BSD 3-Clause "New" or "Revised" License
19 stars 12 forks source link

zsh #111

Closed johnbamberg closed 4 years ago

johnbamberg commented 4 years ago

Has anyone had a problem with using zshell on a MAC? I have the following error when running jupyter-kernel-gap:

% jupyter-kernel-gap GAP Jupyter Kernel Starting using /usr/local/share/gap-4.10.0/bin/gap.sh -l ";/Users/00044445/" gap: hmm, I cannot find 'lib/init.g' maybe use option '-l '?

As you can see, the path variables look fine. In my .zshrc, I have

export JUPYTER_GAP_EXECUTABLE="/usr/local/share/gap-4.10.0/bin/gap.sh -l \";/Users/00044445/\""

Anything else I can try?

johnbamberg commented 4 years ago

I can replicate the problem in a simpler way. In the terminal, do

exec $JUPYTER_GAP_EXECUTABLE

This returns the same error message. The problem might be the parsing of the "-l" switch through exec.