See https://conda.io/docs/user-guide/tasks/manage-environments.html spec-file_3point6_lagranto.txt ############################################################################################# #You can use explicit specification files to build an identical conda environment on the same #operating system platform, either on the same machine or on a different machine. #An explicit spec file is not usually cross platform, and therefore has a comment at the top #such as # platform: osx-64 showing the platform where it was created. This platform is the #one where this spec file is known to work. On other platforms, the packages specified might #not be available or dependencies might be missing for some of the key packages already in the spec. #Conda does not check architecture or dependencies when installing from a spec file. To ensure #that the packages work correctly, make sure that the file was created from a working environment, #and use it on the same architecture, operating system and platform, such as linux-64 or osx-64. #To use the spec file to create an identical environment on the same machine or another machine: conda create --name myenv --file spec-file.txt #To use the spec file to install its listed packages into an existing environment: conda install --name myenv --file spec-file.txt 3point6_lagranto.yml ############################################################################################## #Creating an environment from an environment.yml file #You may want to share your environment with someone elseā€”for example, so they can re-create a test #that you have done. To allow them to quickly reproduce your environment, with all of its packages #and versions, give them a copy of your environment.yml file. #Create the environment from the environment.yml file: #conda env create -f environment.yml