rasbt / python-machine-learning-book

The "Python Machine Learning (1st edition)" book code repository and info resource
MIT License
12.24k stars 4.4k forks source link

Notebook error #81

Closed einsteniano4000 closed 4 years ago

einsteniano4000 commented 4 years ago

Opening the first chapter file ch01.ipynb result in the following error:

"Unreadable Notebook: /home/antonio/libro-machine-learning/ch01.ipynb NotJSONError("Notebook does not appear to be JSON: '\n\n\n\n\n\n<!DOCTYPE html>\n<html lang...")"

python version: 3.7 from anaconda distribution.

rasbt commented 4 years ago

Hi there. This error typically happens if you incorrectly download the notebook. I.e., it looks like you used the browser's "save as" function to save the notebook, which will just save a copy of the HTML page and not the notebook itself.

There are many ways for downloading a notebook, I recommend the simplest one, i.e., downloadng the whole repo:

Screen Shot 2020-01-05 at 3 28 16 PM

einsteniano4000 commented 4 years ago

Thanks. I used a massive downloader plugin of the browser.