Haneef Puttur

Exporting Anaconda Environment to Another Machine

Scenario :

Copy entire environment as it is to another machine

Step 1 :

Switch to base environment

Step 2:

Install conda-pack

conda install -c conda-forge conda-pack

Step 3:

conda pack -n envi_name_to_be_cloned -o any_new_name.tar.gz

Step 4:

Copy the created file any_new_name.tar.gz to new pc

Step 5:

Extract the new file to a folder . For example : D:\Anaconda\envs\any_new_name

Step 6:

Open windows command prompt

Run : cd D:\Anaconda\envs\any_new_name
cd Scripts

Activate.bat

Exit mobile version