当前位置: 首页 > news >正文

Clone a Python environment with the Python Command Prompt

ArcGIS Pro provides a user-friendly interface to manage Python environments with the Python Package Manager; a tool that can create, clone, activate and remove Python environments. However in some instances, the Manage Environment dialog does not allow cloning or creating a new environment.

As a workaround, Python environments can be cloned using the Python Command Prompt. Use the instructions provided in this article.

 

Procedure

  1. Run the Python Command Prompt as an administrator.
    1. Click the Start icon.
    2. Navigate to the ArcGIS folder.
    3. Right-click Python Command Prompt > More > Open file location.
    4. Right-click Python Command Prompt and click Run as administrator.
  2. Search for all the available Python environments by entering the following command:
conda env list
The Python Command Prompt with the list command highlighted.
  1. Identify the name of the Python environment to clone. In this example, the environment to be cloned is arcgispro-py3.
The Python Command Prompt with the environment highlighted.
  1. Clone the environment by entering the following command:
conda create --clone <environment to clone>  --name <new environment name> --pinned
Note:
For this example, the command is: conda create --clone arcgispro-py3 --name arcgispro-py3_clone --pinned
The Python Command Prompt with the clone command highlighted

Alternatively, to clone the environment to a specific directory path, enter the command as:

conda create --clone <environment to clone>  -p <path><new environment name> --pinned
Note:
For this example, the command is: conda create --clone arcgispro-py3 -p C:\ProgramFiles\ArcGIS\Pro\bin\Python\envs\arcgispro-py3_clone3 --pinned
The command code to clone the environment in the C:\ProgramFiles\ArcGIS\Pro\bin\Python\envs\ folder
 
 
source How To: Clone a Python Environment with the Python Command Prompt
http://www.jsqmd.com/news/182667/

相关文章:

  • Java向量API突然不支持?紧急应对降级的4种高可用策略
  • vs code 插件位置修改
  • 官网首页改版:突出展示Sonic生成案例与客户评价
  • 社交媒体传播:制作Sonic生成案例引发病毒式转发
  • 培训服务体系:帮助客户快速上手使用Sonic各项功能
  • MyBatisPlus整合Sonic后台管理系统数据持久层
  • 认证授权体系:OAuth2.0保护Sonic用户账户安全
  • 2025必备10个降AIGC工具,MBA必看!
  • 亲测好用!9大AI论文平台助你搞定毕业论文
  • phome_enewsgbookclass 数据表字段解释(留言分类表)
  • 多语言界面支持:将Sonic操作面板翻译成英文等语种
  • ctf.show-WAF绕过
  • phome_enewspubvar 数据表字段解释(扩展变量表)
  • 移动端适配前景:Sonic模型压缩与加速可行性探讨
  • 搜狐号内容分发:扩大Sonic品牌在传统门户的影响力
  • Arduino - ukyo-
  • ControlNet-sd21终极入门指南:5分钟解锁AI绘画精准控制
  • 绿幕抠像配合Sonic输出实现专业级视频制作流程
  • 消息队列引入:Kafka解耦Sonic前后端提高系统韧性
  • 仅限今日公开:Kafka Streams复杂事件过滤的内部实现原理
  • 目标视频时长配置技巧:SONIC_PreData duration精确匹配音频
  • 竞品监控机制:跟踪类似数字人模型发展动态
  • 中文语音适配性测试:Sonic对普通话发音的唇形还原能力
  • ComfyUI可视化操作降低Sonic使用门槛的真实反馈
  • Sonic模型教程:从零开始生成1080P高清数字人语音视频
  • 从零构建动态模块系统,深入理解Java Platform Module System核心机制
  • 头部微动模拟:Sonic是否具备自然点头摇头动作生成?
  • Java开发者必看的物联网安全指南(设备认证与数据加密最佳实践)
  • uniapp+springboot基于智能管理的企业员工打卡签到办公系统app小程序
  • 免费试用策略:吸引用户尝试Sonic数字人生成服务