mac) .ipython html 파일로 변환하기 (feat.jupyter notebook)

 

1. pip 설치여부 확인

[1] 파이썬3 및 파이썬2.7.9이상

파이썬3을 사용중이면 pip3가 기본으로 설치되어 있다.

- pip3 설치여부 확인

$ pip3

 

있으면 이거 쓰면 된다. 업그레이드 해준다.

- pip3 버전 확인 및 업그레이드

$ pip3 -V

$ pip3 install --upgrade pip

 

[2] 파이썬2.7.9. 하위버전

- pip 설치여부 확인

$ pip

 

[3] nbconveter 설치 

최신버전 설치시 template 오류가 난다;;; 따라서 5.6.1 버전 설치

$ pip install nbconvert==5.6.1

[4-1] converting

해당경로 이동후 

명령어 입력

~ cd /Users/lucas/PycharmProjects/pythonProject
~ jupyter nbconvert <파일이름>.ipynb --to html

[4-2] converting

Comment