블로그 이미지
Flying Mr.Cheon youGom

Recent Comment»

Recent Post»

Recent Trackback»

« 2024/5 »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

jupyter themes 주피터 노트북 테마 바꾸기

서버/Python | 2020. 6. 24. 15:57 | Posted by youGom

매우 간단함.

> pip install jupyterthemes

> jt -l

> jt -t {theme name}

> jt -t chesterish

theme name 목록
   chesterish
   grade3
   gruvboxd
   gruvboxl
   monokai
   oceans16
   onedork
   solarizedd
   solarizedl

 

-----------------------------------------------

넘 밝아서 눈 피로좀 줄이려고 한거라.. 추천하자면 monokai가 눈을 좀 편안하게 해주는 것 같음

> jt -t monokai

-----------------------------------------------

conda에서 한다면, conda activation 한 다음 위에 설치 과정 해주면 된다.

그것도 귀찮다면, (윈도우 사용자라면)

winkey > ananconda prompt consol을 검색해서 실행하면 (base) 로 명령어 창이 뜸

------------------------------------------------

그럴 일은 없겠지만, jt 명령어가 실행이 안될 수 도 있다. 환경변수에 path를 입력해두지 않았다면?

jt의 실행위치는 programdata 폴더 안에 anaconda 폴더가 있고 그 안에 script라는 폴더를 찾아보면 된다.

보통 c드라이드에 설치할텐데.. 리눅스 이거나 다른 드라이브에 있는지도 찾아보면 도움이 될테고, 도저히 모르겠다면

find나 F3으로 jt 를 찾는게 가장 빠를것 같다.

-------------------------------------------------

한번에 되면 좋은데, 오류들이 발생한다.

프록시 있거나 인증서가 필요하다면 이렇게 쓰면 될듯..

pip --cert="path/authfile" --proxy 0.0.0.0:8080 install jupyterthemes

-------------------------------------------------------

 

내 경우에는 두가지 오류가 발생해서 모듈들을 다시 설치함

error : no module named pywin32_bootstrap

> pip install --ignore-installed pywin32 --user

error : numpy.core._ufunc_config'

> pip install --upgrade numpy

---------------------------------------------------

command line에 대해 좀 더 살펴보거나,

python code 내에서 활용하는 등 좀 더 디테일한 내용을 알고 싶다면, 

아래 링크에서 상세히 알아볼 수 있다. ( 영어이니 참고 )

https://github.com/dunovank/jupyter-themes/blob/master/README.md

'서버 > Python' 카테고리의 다른 글

10 Minutes from pandas to Koalas on Apache Spark  (0) 2020.05.07
couchdb basic tutorial  (0) 2020.04.26
tistory api access token 얻는 방법  (0) 2020.04.25
gsm bts using rasberry pi 3  (0) 2019.03.04
pwn basic in python  (0) 2018.12.11
: