windows10 jupyter notebook 설치
1. python 3.9 이상 버전 설치
2. (관리자 권한 cmd 실행 후) pip install jupyter
3. jupyter notebook or python -m notebook 로 실행
디렉터리 설정
(cmd 창에서) jupyter notebook --generate-config
C:\Users\유저명\.jupyter\jupyter_notebook_config.py 가 생성될 것이다.
메모장으로 열어서 _dir 찾아서 #c.NotebookApp.notebook_dir= '' 수정
(수정 전) #c.NotebookApp.notebook_dir= ''
↓
(수정 후) c.NotebookApp.notebook_dir = '원하는 위치'
이때 주의할 점: C:\\User\\meanjung 이렇게 \를 두 개 써줘야 한다.
다시 껐다가 jupyter notebook 실행하면 된다.
주피터 노트북 환경설정 : 시작폴더 변경방법
[Jupyter Notebook] 주피터 노트북 시작 폴더 변경 방법 - 순서 - 1. 주피터 노트북 환경설정 시작 2. #c. NotebookApp.notebook_dir='' 문장을 수정 3. 시작 메뉴의 주피터 노트북 속성을 수정 4. 정리 1. 주..
ooyoung.tistory.com
파이썬 에러 : SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX e
가끔 파이썬 코드를 실행시키다가 SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape 이런 형식의 에러가 뜨는 경우가 있다. 이런 경우에는..
dsbook.tistory.com