anaconda metapackage is a version-locked collection of packages that were included in an Anaconda Distribution installer. Version-locked packages (also called pinned packages) are tied to a specific version of their software. Conda does not update pinned packages when resolving dependencies if other packages in the environment are added or modified. Because each package in the metapackage is pinned, any attempt to update the environment will almost certainly result in build conflicts.
However, it is still possible to install the anaconda metapackage and update the environment that contains it. For more information, see Updating a metapackage environment.
The
anaconda metapackage was removed from Anaconda Distribution installers in February of 2023 and no longer appears in your base environment by default.Installing the metapackage
If you plan to install theanaconda metapackage, Anaconda recommends that you create an environment specifically for that metapackage first:
- Open Anaconda Prompt (Terminal on macOS/Linux).
-
Create a new environment by running the following command:
Replace <ENV> with the name of your environment.
-
(Optional) Search for metapackage versions available for install by running the following command:
-
Install the
anacondametapackage or specify a metapackage version by running one of the following commands:- Latest version
- Specific version
Updating a metapackage environment
If you have an environment containing theanaconda metapackage and need to update packages in that environment, you must first unpin the package versions in your environment. This is accomplished by installing the anaconda=custom version of the metapackage:
- Open Anaconda Prompt (Terminal on macOS/Linux).
-
Open the environment containing the metapackage you want to update:
Replace <ENV> with the name of your metapackage environment.
-
Install the custom version of the
anacondapackage using the following command: - Install or update packages as desired. For more information on managing packages, see Managing packages in the conda documentation.
conda update anaconda command does not install the latest version of the anaconda metapackage
Cause
The
anaconda metapackage was removed from Anaconda Distribution installers in February of 2023 and no longer appears in your base environment by default. This troubleshooting topic assumes you are working with package incompatibilities in an environment containing the anaconda metapackage.conda update anaconda updates the Anaconda metapackage to the latest compatible version. Keep in mind this might not be the latest version.Solution
-
Obtain a list of the conflicting packages by running
conda update anacondaorconda install anaconda=2023.07.Replace2023.07with the latest version number. -
Enter
nto cancel the installation or update. -
Once you know which packages are conflicting, you can:
- update all current packages without upgrading to the latest version of the
anacondametapackage, or - remove the conflicting packages and then upgrade to the latest version of the
anacondametapackage.
- update all current packages without upgrading to the latest version of the
anaconda metapackage:-
Remove the
anacondametapackage itself by running the following command: -
Update all currently installed packages by running the following command:
anaconda metapackage:-
Remove the conflicting packages by running the following command for each one:
-
Update to the latest version of the
anacondametapackage: