CS
-
pip IOError: [Errno 28] No space left on deviceCS/cheatsheet 2022. 8. 5. 18:56
$ export TMPDIR=$HOME/my_tmp_dir $ echo $TMPDIR $HOME/my_tmp_dir /var/tmp에서 변경 $ pip install tfcausalimpact -b $HOME/my_tmp_dir 로도 실행했는데, 중간에 에러가 나서 그냥 변수 바꾸어주는게 좋을듯 참고 : https://stackoverflow.com/questions/40755610/ioerror-errno-28-no-space-left-on-device-while-installing-tensorflow
-
디렉토리 저장공간 차지하는 비율CS/cheatsheet 2022. 8. 5. 18:54
du -sh ${MY_DIR} #사용하고 있는 공간 df -h ${MY_DIR} #총 공간
-
-
-
[matplotlib] centos에 한글 폰트 설치CS/cheatsheet 2022. 7. 8. 11:34
https://pstree.tistory.com/32 0. 위 링크에서 나눔 폰트 설치 1. 캐시 삭제 fc-cache -fv 2. matplotlib 위치 확인 # matplotlib 주요 설치 정보 import matplotlib print ('버전: ', matplotlib.__version__) print ('설치위치: ', matplotlib.__file__) print ('설정: ', matplotlib.get_configdir()) print ('캐시: ', matplotlib.get_cachedir()) 설치 위치가 {MY_DIR}/matplotlib/ 가 나올 것이다. 3. 1에 설치한 파일을 {MY_DIR}/matplotlib/mpl-data/fonts/ttf 로 복사 4. matplo..
-
디렉토리 변경할때마다 git 초기화 필요CS/git 2022. 7. 7. 12:58
여태까지는 디렉토리마다 git 있는 경우도 있어 난잡해졌다..새로운 repo에 연결하거나, 디렉토리 변경할때 깔끔하게 git 초기화하는게 좋을 듯하다 1. git 삭제 $ rm -rf .git $ git remote -v fatal: Not a git repository (or any of the parent directories): .git $ git init -- 저장소 생성...(여태까지 git 초기화인줄;;;) Initialized empty Git repository in {~}/.git/ $ vim .gitignore 2. .gitignore 파일 #data *.csv *.ftr *.xlsx *.xls #img .jpg .png .jpeg ~ 3. git add 및 commit 4. git l..
-
[jenkins] git API key로 crendential 추가CS/git 2022. 7. 5. 14:39
1. github 전체 설정 (Settings) > Developer Settings > 권한 선택 > token 발급 2. Jenkins global option에서 Secret Text로 credential 추가 (Secret : token ID : github ID) 3. connect to API 하면 완료! 생각보다 간단.. 이 아니었음. global과 job 설정 credential이 다르니까 안되는데 ;; 그 이유를 찾아보고 싶다. --> 이문제가 아니라 ERROR: Error fetching remote repo 'origin' 이문제였는데 새로 빌드 파서 작업공간 초기화하니 실행되었음. 뭔가 꼬인거 같음. 아래 참조하여 해결 https://lookingfor.tistory.com/entr..