[Tip] Python requirements.txt export and install

최대 1 분 소요

Requirements.txt export

  1. Activate the virtual environment. (or in non-virtual environment)

  2. Type “pip freeze > requirements.txt”

  3. ‘requirements.txt’ is created in the base folder.

Requirements.txt install

  1. Activate the virtual environment where you want to install the requirements.txt

  2. Type “pip install -r requirements.txt”

  3. The installation is completed

태그:

카테고리:

업데이트:

댓글남기기