conda env export | grep -v "^prefix: " > environment.yml
2. To import conda environment:-
conda env create -f env.yml
3. To export pip requirements:-
pip list --format=freeze > requirements.txt
4. To import pip requirements:-
pip install -r requirements.txt
No comments:
Post a Comment