laptop and a wrench

Bogue

When cloning Python environments in the ArcGIS Pro Python Package Manager on a disconnected machine, the resulting environment is missing files.

Dernière publication: January 16, 2019 ArcGIS Pro
Numéro d’ID de bogue BUG-000118430
EnvoiNovember 28, 2018
Dernière modificationDecember 9, 2024
S’applique àArcGIS Pro
Version trouvée2.2.3
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutIn Product Plan

Solution de contournement

Create the desired Python environment on a different machine that is connected to the internet. Zip this environment up and physically move it to the disconnected computer. Place the unzipped Python environment in one of the two recognized locations for Python environments (ex: C:\Users\[user]\AppData\Local\ESRI\conda\envs\) and ArcGIS Pro picks it up.

Another way around this issue is essentially cloning the base arcgispro-py3 environment:

  1. Navigate to where the default Python project environment is located, it is listed in the Python Package Manager but is generally located at C:\Program Files\ArcGIS\Pro\bin\Python\envs
  2. Right click and copy the environment folder for arcgispro-py3.
  3. Paste this folder in the current location (administrator privileges required) or the other recognized environment folder located at C:\Users\<user>\AppData\Local\ESRI\conda\envs
  4. Change the name of this folder to the desired environment name.
  5. ArcGIS Pro picks this up as a Python environment.
Force installation from local files https://support.esri.com/en-us/knowledge-base/how-to-clone-a-python-environment-offline-by-forcing-in-000030572

Étapes pour reproduire

ID de bogue: BUG-000118430

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement