<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Clone python environment on shared drive for multiple users to access in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/clone-python-environment-on-shared-drive-for/m-p/1371867#M77609</link>
    <description>&lt;P&gt;Beyond what it says in&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/clone-an-environment.htm" target="_blank"&gt;Clone an environment—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;with the related link regarding what to do with network access&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/what-is-conda.htm#ESRI_SECTION1_960C7A0027EE4B528CE0AA22B3EDE7DB" target="_blank"&gt;Package Manager—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't do the cloud/network/sharing thing.... I work on a local machine only &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 19:57:17 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2024-01-18T19:57:17Z</dc:date>
    <item>
      <title>Clone python environment on shared drive for multiple users to access</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/clone-python-environment-on-shared-drive-for/m-p/1371638#M77588</link>
      <description>&lt;P&gt;Is there a way to clone a python environment to a shared drive so that multiple users can access it through pro?&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using VDI's for a large number of editors and would like them to all be able access the same tools without having to do individual installs for each user.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 15:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/clone-python-environment-on-shared-drive-for/m-p/1371638#M77588</guid>
      <dc:creator>LouEarly</dc:creator>
      <dc:date>2024-01-18T15:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Clone python environment on shared drive for multiple users to access</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/clone-python-environment-on-shared-drive-for/m-p/1371658#M77591</link>
      <description>&lt;P&gt;Seems more like a Python question than a Pro question. I've never heard of using a Python env from a shared drive, but that doesn't mean it can't work. Maybe &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp; has some insights on this?&lt;/P&gt;&lt;P&gt;If you have an environment you want to share, it's fairly easy to export it to a text file and use that to replicate the same environment elsewhere. Especially if you use conda / mamba for the install.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 15:38:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/clone-python-environment-on-shared-drive-for/m-p/1371658#M77591</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-01-18T15:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Clone python environment on shared drive for multiple users to access</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/clone-python-environment-on-shared-drive-for/m-p/1371867#M77609</link>
      <description>&lt;P&gt;Beyond what it says in&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/clone-an-environment.htm" target="_blank"&gt;Clone an environment—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;with the related link regarding what to do with network access&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/what-is-conda.htm#ESRI_SECTION1_960C7A0027EE4B528CE0AA22B3EDE7DB" target="_blank"&gt;Package Manager—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't do the cloud/network/sharing thing.... I work on a local machine only &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 19:57:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/clone-python-environment-on-shared-drive-for/m-p/1371867#M77609</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-01-18T19:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Clone python environment on shared drive for multiple users to access</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/clone-python-environment-on-shared-drive-for/m-p/1385853#M79198</link>
      <description>&lt;P&gt;ArcGIS Pro 2.9.6&lt;/P&gt;&lt;P&gt;I've successfully cloned the default Python instance to a network file share folder.&amp;nbsp; It took quite a while to clone, which was expected due to network latency.&lt;/P&gt;&lt;P&gt;Currently installing the boto3 and ReportLab modules into this environment.&lt;/P&gt;&lt;P&gt;Haven't yet tested if other users can select this environment.&lt;/P&gt;&lt;P&gt;Also haven't tested this setup to see if there is a significant impact on performance.&amp;nbsp; I'll do some benchmarking and report back.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Joyce_OE_1-1708662092166.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95600iB070CC225FFC094F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dan_Joyce_OE_1-1708662092166.png" alt="Dan_Joyce_OE_1-1708662092166.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;*** UPDATE ***&lt;/P&gt;&lt;P&gt;Installing the boto3 and ReportLab modules was successful.&lt;/P&gt;&lt;P&gt;Adding the shared Python environment using a UNC path looked like it worked, but when running my test script, it didn't appear to do anything.&amp;nbsp; I think I read somewhere else that Python environments don't like UNC paths.&lt;/P&gt;&lt;P&gt;I then mapped the network location with a drive letter and re-added the shared environment.&lt;/P&gt;&lt;P&gt;This fixed the issue and my script ran as expected.&lt;/P&gt;&lt;P&gt;I measured the time taken (in seconds) for the script to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Import the arcpy module&lt;/LI&gt;&lt;LI&gt;Clip a point feature class (stored in MS SQL Server)&lt;/LI&gt;&lt;LI&gt;Run a search cursor over the clipped features (10,697 features in file geodatabase stored locally)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I ran this test script using the default Pro Python environment and with the shared Python environment on the network location.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;Default env&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;Shared env&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;Delta&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;Initialise&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;0.065&lt;/TD&gt;&lt;TD width="25%"&gt;0.093&lt;/TD&gt;&lt;TD width="25%"&gt;+0.028 (+43%)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;Clip&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;15.152&lt;/TD&gt;&lt;TD width="25%"&gt;18.270&lt;/TD&gt;&lt;TD width="25%"&gt;+3.118 (+21%)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;&lt;STRONG&gt;Search Cursor&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;0.159&lt;/TD&gt;&lt;TD width="25%"&gt;0.185&lt;/TD&gt;&lt;TD width="25%"&gt;+0.026 (+16%)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was just a simple test, but encouraging that the performance hit using a shared network location for the Python environment wasn't that big.&lt;/P&gt;&lt;P&gt;I haven't tested the impact of concurrent users accessing the shared Python environment.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 10:49:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/clone-python-environment-on-shared-drive-for/m-p/1385853#M79198</guid>
      <dc:creator>Dan_Joyce_OE</dc:creator>
      <dc:date>2024-02-23T10:49:03Z</dc:date>
    </item>
  </channel>
</rss>

