virtualenv 설치
pip install virtualenv
venv activate/deactivate
- 환경 설치
python -m virtualenv venv
- Windows
venv\Scripts\activate.bat venv\Scripts\deactivate.bat
- Linux
source ./venv/script/activate source ./venv/script/deactivate
Freeze packages
pip freeze > requirements.txt
Install packages
pip install -r requirements.txt