

yml file to create environments as it provides you and anyone else who may want to reproduce your workflow with a record of the exact setup of your environment. If you ran conda env update -f environment.yml using the second file, it would both update the packages in the environment that already existed and add a new one ( earthpy) to the environment. Once you have conda installed on your machine, you can create your first conda environment:
Anaconda download numpy how to#
You will also learn how to install Miniconda. For this textbook, we suggest that you use the Miniconda installation.ĭata Tip: In this lesson on installing conda, you will learn about the advantages of Miniconda vs Anaconda. Miniconda is predominately designed for users who know what packages they need and do not want or need the extra installations. It only contains critical packages and software such as the conda package manager and a basic Python environment. Miniconda, on the other hand, is a streamlined conda distribution. All of the installed packages can also lead to dependency conflicts as you install new packages. To do this, you have two main options: Anaconda and Miniconda.Īnaconda ships with a suite of libraries and software pre-installed, which makes it quite large (~3Gb). In order to create a conda environment, you first need to install an conda distribution. You will also learn how to install Python packages using the conda-forge channel.

On this page, you will learn how to create and work with conda environments. Previously in this chapter, you learned about conda environments and the difference between conda and pip.
