export env conda code example
Example 1: clone an environment conda
conda create --name myclone --clone myenv
Example 2: conda create environment based on requirements.txt
pip freeze > requirements.txt
conda create --name myclone --clone myenv
pip freeze > requirements.txt