ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 16 Mar 2020 20:46:33 -0500How to install hide_code in SageMath?http://ask.sagemath.org/question/50277/how-to-install-hide_code-in-sagemath/Hi all,
I have sage 8.1 installed on Ubuntu 18.04. It works fine from the terminal, the deprecated notebook seems to work correctly as well. Hoewever when I launch `sage -n jupyter` and try to open/create an ipynb file, I get **Error 500 : Internal Server Error**.
Below, what I obtain from the terminal.
I certainly broke something during the weekend, I was trying to get the `hide_code` extension to work, and I clearly did something that I should not. I don't know precisely what, but I tried to intall jupyter lab, and many other manipulations.
Any suggestion?
**Edit 1** I edited, as per Sébastien's first answer.
**Edit 2**
My question deviated towards the installation of `hide_code` for jupyter. @Sebastien answered, the procedure works fine!
Thanks in advance!
| SageMath version 8.1, Release Date: 2017-12-07 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
Please wait while the Sage Jupyter Notebook server starts...
File "/home/jcb/.local/lib/python2.7/site-packages/hide_code/hide_code.py", line 9, in <module>
from hide_code.hide_code_html_exporter import HideCodeHTMLExporter
ImportError: No module named hide_code_html_exporterJCMon, 16 Mar 2020 20:46:33 -0500http://ask.sagemath.org/question/50277/Kernel died when computing nullspace of a large matrixhttp://ask.sagemath.org/question/48650/kernel-died-when-computing-nullspace-of-a-large-matrix/I have a large sparse matrix with dimension roughly 100,000 by 70,000. Its only nonzero entries are 1 and -1. I'm trying to use the right_kernel command to calculate its kernel over the rational numbers. However, whenever I run the code, I get a message that says "the kernel appears to have died. It will restart automatically." Does this mean I'm running out of memory on my computer? Any ideas on how to address this? All this is done in a Jupyter notebook. Thank you!ClaudiaYunWed, 06 Nov 2019 11:15:57 -0600http://ask.sagemath.org/question/48650/Install optional packages (eg extra Jupyter kernels) on top of conda-installed SageMathhttp://ask.sagemath.org/question/43952/install-optional-packages-eg-extra-jupyter-kernels-on-top-of-conda-installed-sagemath/Suppose one has installed SageMath using the conda package.
How does one then install optional packages?
It seems `sage -i` is not active there.
For example, what would be the replacement for
$ sage -i gap_jupyter # install Jupyter kernel for GAP 4.8
$ sage -i pari_jupyter # install Jupyter kernel for PARI/GP
$ sage -i r_jupyter # install Jupyter kernel for R
$ sage -i singular_jupyter # install Jupyter kernel for Singular
if one is using a conda-installed Jupyter and SageMath?
slelievreMon, 15 Oct 2018 05:22:56 -0500http://ask.sagemath.org/question/43952/