민서네집

Jupyter 에러 (Notebook does not appear to be JSON) 본문

Python

Jupyter 에러 (Notebook does not appear to be JSON)

브라이언7 2016. 8. 7. 21:49

github.com에서 "밑바닥부터 시작하는 데이터 사이언스"의 jupyter notebook 파일을 다운로드 받아서 jupyter에서 읽었더니 error가 남.


https://github.com/insight-book/data-science-from-scratch


[jupyter error]


Error loading notebook


Unreadable Notebook: D:\python\Study\Python_Math\data-science-from-scratch\ch05_statistics (1).ipynb NotJSONError('Notebook does not appear to be JSON: \'\\n\\n\\n\\n<!DOCTYPE html>\\n<html lang="en...',)


jupyter가 이상한 줄 알고, Anaconda Python 3.5 버젼을 Uninstall 하고, Anaconda Python 2.7 버젼을 Install 했는데, 계속 똑같은 에러 발생.


혹시나 해서 ipynb 파일을 텍스트 편집기로 열어보았더니 <html>파일 형식으로 되어 있었고... 원래는 어떤가 싶어서 다른 ipynb 파일을 Text 편집기로 열어보았더니 JSON 파일 형식으로 되어 있었다.


Chrome 브라우저에서 ipynb 파일을 "다른 이름으로 링크 저장"으로 저장했더니... html 파일로 저장을 해버린것.


역시 github.com에서 ipynb 파일은 git clone 으로 가져와야... ㅠㅠ


'Python' 카테고리의 다른 글

Jupyter notebook에서 Root 디렉터리 들어가기  (0) 2016.08.15
[Python][PyCon 2016] 가위바위보 소스  (0) 2016.08.14
PyCharm 단축키  (0) 2016.08.07
Python Help (pdf, chm)  (0) 2016.08.07
효율적인 Python String Concatenation  (0) 2016.08.04
Comments