-
Notifications
You must be signed in to change notification settings - Fork 0
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
Choose kernel #2
Comments
There is no concept of kernels in Saturn. The idea is not to take over the environment, but to be just another Python module, inside whatever (possibly virtual) environment you like, that plays nice with everything else. So it's possible to install saturn as a package inside sage. The following works:
Unfortunately, I don't know enough about sage to know if this will create problems or work as intended. |
Thanks for the answer. SageMath has slightly different syntax to python's: https://doc.sagemath.org/html/en/tutorial/afterword.html I think it should be possible to replace the python's eval of the notebook with |
All the code evaluation logic happens in evaluate.py. Perhaps, there is a way to tweak that. If you find a clean way, please submit a pull request. |
Maybe https://pypi.org/project/jupyter-client/ could be used... Here's an example of a jupyter notebook app using it: https://github.com/cvfosammmm/Porto/blob/master/notebook/backend/backend_code.py#L209 |
In a jupyter notebook it is possible to choose other kernels (like SageMath).
Is it possible to choose the kernel in saturn?
The text was updated successfully, but these errors were encountered: