Add or remove a package

Add a package to or remove a package from a conda environment using the Package Manager page.

Add a package

To add a package to a conda environment, do the following:

Remarque :

A package cannot be added to the default arcgispro-py3 environment. To create an environment, see Clone an environment.

  1. On the ribbon, click the Project tab.

    The settings page appears.

  2. In the list of side tabs, click Package Manager.

    The Package Manager page appears.

  3. In the Package Manager, click the Add Packages tab.
  4. To identify a package, enter a package name or search term into the Search text box and click the Search button Rechercher. Alternatively, scroll through the list of packages.
  5. From the list of packages, click a package item.

    The package information appears to the right. Depending on the package, information such as description, dependencies, and licensing appears.

  6. Optionally, to change the package version, click the pull-down menu next to the Version choice list, and click a different version.

    By default, the version will default to the current package version.

  7. In the package information, click the Install button Paquetages installés.

    The Install Package dialog box appears.

    Install Package

  8. After reviewing the terms and conditions, check the I agree to the terms and conditions check box.

    The Install Package dialog box may list dependencies that the package requires. If the packages are not already included in the environment, they will be installed as well.

    The Install button activates.

  9. Click the Install button.

    Depending on the size of the package and the dependencies, adding an environment may take several minutes. You can monitor progress in the Tasks section of the Package Manager page.

    Tasks

    1. If the installation fails, hover over the task in the Tasks section for more information.

    The package and any dependencies are installed.

Remove a package

To remove a package from a conda environment, do the following:

  1. On the ribbon, click the Project tab.

    The settings page appears.

  2. In the list of side tabs, click Package Manager.

    The Package Manager page appears.

  3. In the Package Manager, click the Installed tab.
  4. From the list of packages, click a package item.

    Some packages are requirements of ArcGIS Pro and cannot be removed. These packages are noted with a lock icon Lock.

    The package information appears to the right.

  5. In the package information, click the Uninstall button Désinstaller un paquetage.

    A Warning pop-up appears.

  6. Click OK.

    The package is uninstalled.

Rubriques connexes


Dans cette rubrique
  1. Add a package
  2. Remove a package