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

Documentation regarding setting up SageMath's Jupyter kernel in an existing installation points to wrong directory #34756

Closed
behackl opened this issue Nov 17, 2022 · 7 comments

Comments

@behackl
Copy link
Member

behackl commented Nov 17, 2022

The instructions given in https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation refer to a command "along the lines" of

ln -s $(sage -sh -c 'ls -d $SAGE_VENV/share/jupyter/kernels/sagemath') $HOME/.local/share/jupyter/sagemath-dev

to make the SageMath kernel available to an existing (system) Jupyter installation. The actual kernel directory is (cf. https://jupyter-client.readthedocs.io/en/stable/kernels.html#kernel-specs) in $HOME/.local/share/jupyter/kernels, so /kernels should be appended to the respective lines.

Component: documentation

Keywords: easy

Author: Benjamin Hackl

Branch/Commit: 096e228

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/34756

@behackl behackl added this to the sage-9.8 milestone Nov 17, 2022
@behackl
Copy link
Member Author

behackl commented Nov 17, 2022

@behackl
Copy link
Member Author

behackl commented Nov 17, 2022

Commit: 096e228

@behackl
Copy link
Member Author

behackl commented Nov 17, 2022

New commits:

096e228trac 34756: appended /kernels to jupyter kernel paths

@behackl
Copy link
Member Author

behackl commented Nov 17, 2022

Author: Benjamin Hackl

@mkoeppe
Copy link
Member

mkoeppe commented Nov 17, 2022

Reviewer: Matthias Koeppe

@mkoeppe
Copy link
Member

mkoeppe commented Nov 17, 2022

comment:3

Thanks for catching & fixing this mistake

@vbraun
Copy link
Member

vbraun commented Dec 3, 2022

Changed branch from u/behackl/docs/fix-jupyter-kernel-dir to 096e228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants