Using PIP How to get the requirement list from existing venv and install in new venv?¶ pip freeze > requirements.txt pip install -r requirements.txt --use-pep517