export requirement.txt pip list --format=freeze > requirements.txt export env conda env export --from-history > environment.yaml