How to clone anaconda environment to another Windows 10 PC?

Question:

How to clone anaconda environment to another Windows 10 PC? Or maybe how to export all the packages then I will install these packages in another PC?

I exported a yml file like this:

conda env export > environment.yml

How to create a new environment from this yml file? Where do I save this yml file when creating a new enviroment?

Asked By: roudan

||

Answers:

The most recommended way is to create the environment.yml file, manually. and this is quite easy!

Have a look at the conda official documentation for manually creating the environment file.

and then you can easily create the above environment on other window pc by following these instructions.

Hopes that help!

Answered By: Nouman Tariq
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.