New comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/pull/34030#issuecomment-986203412 Comment: Thanks, (temporarily) rewriting shebangs works for me. According to https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation any of ``` $HOME/.local/share/jupyter /usr/local/share/jupyter /usr/share/jupyter ``` should work.