base
environment from breaking due to complex package dependency conflicts, helps to simplify environment management, and aids in the reproducibility of your environment on other machines.conda install
command to install packages into an environment. Run conda install --help
to see a list of available options.
.condarc
configuration file. You can override this behavior in one of two ways, depending on how you want conda to handle the package dependencies:
::
in the command installs the specified package from the specified channel, but immediately falls back to your user-defined channel priorities to install any necessary package dependencies.2.2.2
and its dependencies:
.conda
or .tar.bz2
) to your package cache when you install a new package. This makes conda more efficient when you need to use the same package in multiple places, but it also enables you to copy or use the package archive file in different ways.
Where is my package cache?
/pkgs
folder of your installation folder. Possible default installation locations include:Operating System | Installer | File Location |
---|---|---|
Windows | Graphical installer (.exe ) | \Users\<USERNAME>\anaconda3\ |
macOS | Graphical installer (.pkg ) | /opt/anaconda3/ |
macOS | Command line installer (.sh ) | /anaconda3/ |
Linux | Command line installer (.sh ) | /anaconda3/ |
anaconda3
with miniconda3
for Miniconda installationsHow do I know what file type a package is?
--info
flag when searching for the package:.conda
or .tar.bz2
files that are stored on your local file system:
.conda
and .tar.bz2
file types, but .conda
archive files are the most common. For more information on the .conda
file format, see .conda file format in the official conda documentation.