漏洞 ID 编号 |
BUG-000118430 |
已提交 | November 28, 2018 |
上次修改时间 | December 9, 2024 |
适用范围 | ArcGIS Pro |
找到的版本 | 2.2.3 |
操作系统 | Windows OS |
操作系统版本 | 10.0 64 Bit |
状态 | In Product Plan
该问题已添加到开发团队的解决问题中。 对于具有此状态的问题,将在近期版本(下一个或两个版本)中进行解决。 检查问题的“其他信息”或“备用解决方案”部分,寻找可以完全解决此问题的有用信息。
|
解决办法
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:
- 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
- Right click and copy the environment folder for arcgispro-py3.
- 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
- Change the name of this folder to the desired environment name.
- 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
重现步骤