Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- gpu #cuda #cudnn #nvidia-driver
- 명령어
- 원격접속
- Jupyter Lab
- ssh #서버구축
- Linux
- ssh
- Jupyter Notebook
- 우분투 #ubuntu #서버
- 해결방법
- 딥러닝
- 에러 #오류
- Git #Github
- 상호참조해결
- NLP
- 삽질로그
Archives
- Today
- Total
Teddy 스터디 블로그
[Git,Python] Git+Docker 사용법, Python virtualenv 본문
본 글은 개인적인 용도로 학습한 내용을 정리하기 위한 글입니다.
Git+Docker: https://jeonghwan-kim.github.io/docker-git/
Pycharm ssh 원격코드 실행/수정: https://epicarts.tistory.com/99
*가상환경 생성/해제
virtualenv
virtualenv venv(생성)
source .venv/Srcipts/activate(활성화)
deactivate(비활성화)
*리눅스 서버 등에서 anaconda를 활용한 가상환경 설정 시에는 activate/deactivate이나 기타 가상환경 명령어 앞에 'conda'를 써줘야 함. ex- conda activate venv
*가상환경 버젼 저장
pip freeze > requirements.txt : requirements.txt 파일에 현재 가상환경에서의 모듈 버젼 저장
pip install -r requirements.txt : requirements.txt 파일에 저장된 모듈 버젼대로 pip install
*PyTorch pip install
링크(https://pytorch.org/get-started/locally/) 에서 pip 선택 후 아래의 커맨드 복붙.
'[스터디로그]' 카테고리의 다른 글
Git bash를 활용한 Github 활용하기 (0) | 2021.03.11 |
---|---|
[환경설정]git bash를 활용한 원격 python 파일 실행 방법 (0) | 2021.03.03 |