Python Forum
Notebook is rendered as static html by github - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Notebook is rendered as static html by github (/thread-12413.html)



Notebook is rendered as static html by github - miner_tom - Aug-23-2018

I have been attempting to run a notebook file that was downloaded from github. The error that I get is "Notebook does not appear to be JSON: '\\n\\n\\n\\n\\n\\n<!DOCTYPE html>\\n<html lang...",)".

Been reading that the file is being read by jupyter as "static html" because "When you add Jupyter Notebook or IPython Notebook files with a .ipynb extension on GitHub, they will render as static HTML files in your repository."

Ok, I am not sure how to get past this issue. I have also read "To view a fully interactive version of your Jupyter Notebook, you can set up a notebook server locally. For more information, see Jupyter's official documentation."

I did explore that jupyter documentation but could not find the answer myself. So, my basic question is, is there a way to convert a static html file to a notebook file?

Thank You
Tom



RE: Notebook is rendered as static html by github - Larz60+ - Aug-23-2018

please provide enough information so that an answer can be given
  • what is the site
  • How downloaded
  • provide code



RE: Notebook is rendered as static html by github - perfringo - Aug-23-2018

You should install Jupyter (How to install Jupyter notebook) and use it to open .ipynb file (Running the Jupyter notebook)