문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
python:pip [2013/08/28 23:05] kwon37xi |
python:pip [2024/01/04 09:07] kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== PIP ====== | ====== PIP ====== | ||
* http:// | * http:// | ||
+ | * [[python: | ||
+ | * [[http:// | ||
* easy_install 대체로 나온 패키지 설치 관리자. | * easy_install 대체로 나온 패키지 설치 관리자. | ||
+ | * [[python: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | |||
===== requirements.txt ===== | ===== requirements.txt ===== | ||
- | 아래와 같은 형태로 파일을 작성해 두면 의존성을 한번에 pip로 설치할 수 있다. | + | * [[http:// |
+ | * 아래와 같은 형태로 파일을 작성해 두면 의존성을 한번에 pip로 설치할 수 있다. | ||
* '' | * '' | ||
- | 앱이름 | ||
Framework==0.9.4 | Framework==0.9.4 | ||
Library> | Library> | ||
</ | </ | ||
- | <code sh> | + | * 실행 |
pip install -r requirements.txt | pip install -r requirements.txt | ||
+ | </ | ||
+ | * 현재 Python 환경의 의존성을 모두 모으기< | ||
+ | pip freeze > requirements.txt | ||
</ | </ | ||