Python Forum
Notebook is rendered as static html by github
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Notebook is rendered as static html by github
#1
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
Reply
#2
please provide enough information so that an answer can be given
  • what is the site
  • How downloaded
  • provide code
Reply
#3
You should install Jupyter (How to install Jupyter notebook) and use it to open .ipynb file (Running the Jupyter notebook)
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  problem usage of static method akbarza 5 551 Feb-03-2024, 07:43 AM
Last Post: paul18fr
  Static type checking with PyPy pitosalas 1 459 Dec-14-2023, 09:29 PM
Last Post: deanhystad
  Class member become static Quasar999 1 683 Sep-16-2023, 12:52 PM
Last Post: deanhystad
  Tkinterweb (Browser Module) Appending/Adding Additional HTML to a HTML Table Row AaronCatolico1 0 934 Dec-25-2022, 06:28 PM
Last Post: AaronCatolico1
Photo Output Static image on HDMI2 random816382 0 1,412 Oct-18-2021, 11:21 AM
Last Post: random816382
  reading html and edit chekcbox to html jacklee26 5 3,086 Jul-01-2021, 10:31 AM
Last Post: snippsat
  Are there optimizer for static code? AlekseyPython 5 2,583 Nov-03-2019, 07:52 AM
Last Post: AlekseyPython
  HTML to Python to Windows .bat and back to HTML perfectservice33 0 1,952 Aug-22-2019, 06:31 AM
Last Post: perfectservice33
  Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2 Newtopython123 10 31,347 Apr-25-2019, 07:30 AM
Last Post: banu0395
  Using static methods for library? giu88 4 2,938 Sep-12-2018, 07:52 AM
Last Post: giu88

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020