python/라이브러리

[Jupyter notebook] vscode 안에서 ipynb에서 html로 바꾸기

sillon 2023. 2. 6. 21:43
728x90
반응형

[Jupyter notebook] vscode 안에서 ipynb에서 html로 바꾸기

 

terminal 

jupyter nbconvert --to html /Your notebook path/file.ipynb

 

google colabe에서도 동일하다.

%%shell
jupyter nbconvert --to html /Your notebook path/file.ipynb

 

근데 해당 방법에서는 자꾸 다음과 같은 오류가 떴다.

    raise NotJSONError(("Notebook does not appear to be JSON: %r" % s)[:77] + "...") from e
nbformat.reader.NotJSONError: Notebook does not appear to be JSON: ''...

다른 방법

저장!

 

728x90
반응형