Programing Language/Python
[Python] requirements.txt 생성 및 설치
pcm9881
2023. 2. 20. 11:12
requirements 생성
pip freeze > requirements.txt
requirements 기준 설치
pip install -r requirements.txt
참조
[pip freeze]: https://pip.pypa.io/en/stable/cli/pip_freeze/?highlight=requirements.txt
pip freeze - pip documentation v23.0.1
Previous pip show
pip.pypa.io
[pip install]: https://pip.pypa.io/en/stable/cli/pip_install/
pip install - pip documentation v23.0.1
py -m pip install --upgrade SomePackage Note This will guarantee an update to SomePackage as it is a direct requirement, and possibly upgrade dependencies if their installed versions do not meet the minimum requirements of SomePackage. Any non-requisite up
pip.pypa.io
728x90