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_exporter
One suggestion would be to install Sage 9.0. It was released in January, as opposed to 8.1, released late in 2017.
@JC: are you able to reproduce the same problem with sage version 9.0 ?
Hello @Sebastien No, Sage 9.0 works fine. I did not install the hide-code extension yet, will tray later today.