Are you trying to download this from github? In particular, in Google Chrome browsers, I had problems downloading .ipynb files with right-click> Save link as ... I'm not sure if this problem occurs in other browsers (Microsoft Edge, Mozilla Firefox, Safari, etc. .d.).
This causes problems, since it usually doesnβt fully download the file when it is downloaded and it is corrupted, so you cannot download the IPython notebook, which may work correctly. When uploading .ipynb files to Github, you need to catch one click, click Raw , then copy everything (Ctrl + A) and paste it into an empty file (using text editors such as Notepad, Notepad ++.], Vim, etc.) and save it as "what_file_name_you_choose.ipynb". Then you can run this file correctly, assuming that the undamaged file was uploaded to Github.
Many people with very large and complex IPython laptops on Github will inevitably encounter this problem, simply trying to download with the Save As ... link . Hope this helps!
source share