<?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: Reset conda global sys.path in ArcGIS Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489982#M21533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have Pro 2.6.1 installed in E:\ArcGIS, and I can't replicate what you are seeing.&amp;nbsp; It may, may, be a 2.5.1 issue, so it wouldn't hurt to upgrade to the latest version and patch.&amp;nbsp; If you still see the issue afterwards, you will have to share more specifics about your steps to clone/add an environment and activate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2020 14:24:01 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2020-10-20T14:24:01Z</dc:date>
    <item>
      <title>Reset conda global sys.path in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489980#M21531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Noticed an interesting issue when was trying to &lt;STRONG&gt;add a python environment&lt;/STRONG&gt;, post it out to see any insights.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My ArcGIS pro was installed in &lt;STRONG&gt;D:\Program Files\....&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;when I&amp;nbsp;using the default python environment arcgispro-py3, things are doing correctly, specifically when I ran &lt;STRONG&gt;print(sys.path)&lt;/STRONG&gt; in Terminal that the library paths are pointing to the D drive, for e.g : d:\Program files\arcgis pro\resource\arcpy&lt;/P&gt;&lt;P&gt;That means, arcpy can be found when importing into scripts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, when cloning an environment or adding an existing one through ArcGIS Pro environment management,&amp;nbsp;&lt;STRONG&gt;print(sys.path) in Terminal &lt;/STRONG&gt;again that library paths are pointing to C drive rather than D, e.g C&lt;SPAN style="font-weight: 400;"&gt;&lt;STRONG&gt;:\Program files\arcgis pro\resource\arcpy. As the ArcGIS Pro actually installed on D, so ArcPy can't be found in the script, causing issues like&amp;nbsp; "No module named ArcPy"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="511335" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/511335_pastedImage_9.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.5.1 is used in this case and python 3.6.9. tried to reset those paths but failed. after dig out a bit seems the conda has the problem with python 3.6&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 05:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489980#M21531</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-10-20T05:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reset conda global sys.path in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489981#M21532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you switching to the cloned environment through Pro or by using proswap.bat before you do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 08:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489981#M21532</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-10-20T08:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reset conda global sys.path in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489982#M21533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have Pro 2.6.1 installed in E:\ArcGIS, and I can't replicate what you are seeing.&amp;nbsp; It may, may, be a 2.5.1 issue, so it wouldn't hurt to upgrade to the latest version and patch.&amp;nbsp; If you still see the issue afterwards, you will have to share more specifics about your steps to clone/add an environment and activate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 14:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489982#M21533</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-10-20T14:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reset conda global sys.path in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489983#M21534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan. Cloned environment through Pro.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 23:34:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489983#M21534</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-10-20T23:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reset conda global sys.path in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489984#M21535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks.. unfortunately, I can't update the ArcGIS Pro in this case. This issue was finally resolved by re-install the ArcGIS Pro in C:\ as a workaround.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2020 23:48:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/reset-conda-global-sys-path-in-arcgis-pro/m-p/489984#M21535</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-10-20T23:48:48Z</dc:date>
    </item>
  </channel>
</rss>

