'How can I solve my problem by jupyter run programs

Whenever I started run projects in jupyter, It give me an error :

Unreadable Notebook: NotJSONError("Notebook does not appear to be JSON: '\n\n\n\n\n\n\n<html lang...")

Or sometime give me this error when I am trying to upload a project :

SyntaxError: Unexpected token < in JSON at position 6

How can I solve these errors ?



Solution 1:[1]

The thing is, when you click on download button for the given file, it shows you the json of the notebook, you probably downloaded it and tried to run the file. I don't know why it does that, but the solution is, There's an option called open in colab, you can open the notebook in google colab or kaggle from the link, download the notebook and run the code on your own machine. Hope this solves your problem !

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Muhammad Ahmed