<?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: Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076252#M61603</link>
    <description>&lt;P&gt;I tried looking at environmental vars via: "&lt;SPAN class="pre"&gt;conda&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;env&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;vars&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;list" in the PCP but I nothing was returned. Are there any other ways to check?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 13:08:41 GMT</pubDate>
    <dc:creator>LewisTrotter</dc:creator>
    <dc:date>2021-07-07T13:08:41Z</dc:date>
    <item>
      <title>Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH</title>
      <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1075782#M61574</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I recently cloned the default ArcGIS Pro 2.8 Conda environment so I can install and use rasterio and dask for some big data analyses. I used the Python Command Prompt (PCP) that comes with ArcGIS to perform the clone instead of the in-software interface.&lt;/P&gt;&lt;P&gt;The clone worked fine, and rasterio and dask installed without issues. However, when I try to run any rasterio method that wraps GDAL I get an GDAL environment issue. I don't have any GDAL issues when using the default environment.&lt;/P&gt;&lt;P&gt;I activated the the cloned environment in the PCP to have a look, and get this warning:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="missing_gdal.png" style="width: 979px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17773i8758C559E8DB8DB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="missing_gdal.png" alt="missing_gdal.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to make sure my cloned environment is directed to the correct GDAL path?&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 08:59:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1075782#M61574</guid>
      <dc:creator>LewisTrotter</dc:creator>
      <dc:date>2021-07-06T08:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH</title>
      <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1075902#M61583</link>
      <description>&lt;P&gt;gdal stuff is installed in&lt;/P&gt;&lt;P&gt;C:\...install_folder...\bin&amp;nbsp; and&lt;/P&gt;&lt;P&gt;C:\...install_folder...\bin\gdalplugins&lt;/P&gt;&lt;P&gt;and probably elsewhere, I doubt the cloning process copied all that over&lt;/P&gt;&lt;P&gt;ADDENDUM&lt;/P&gt;&lt;P&gt;as well (forgot osgeo)&lt;/P&gt;&lt;P&gt;C:\...install_folder...\bin\Python\envs\arcgispro-py3\Lib\site-packages\osgeo&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 22:12:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1075902#M61583</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-06T22:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH</title>
      <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076177#M61592</link>
      <description>&lt;P&gt;Thanks Dan,&lt;/P&gt;&lt;P&gt;Very helpful. Do you know how I can set my clone environment up to see these paths? I'm hoping I can just set them once instead of every time I activate.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 03:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076177#M61592</guid>
      <dc:creator>LewisTrotter</dc:creator>
      <dc:date>2021-07-07T03:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH</title>
      <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076204#M61599</link>
      <description>&lt;P&gt;Can you confirm those paths exist in your clone path.&amp;nbsp; You shouldn't have to set the gdal path if the clone contains the equivalent files, you should just have to activate the clone and run within the clone&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 08:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076204#M61599</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-07T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH</title>
      <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076252#M61603</link>
      <description>&lt;P&gt;I tried looking at environmental vars via: "&lt;SPAN class="pre"&gt;conda&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;env&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;vars&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;list" in the PCP but I nothing was returned. Are there any other ways to check?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 13:08:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076252#M61603</guid>
      <dc:creator>LewisTrotter</dc:creator>
      <dc:date>2021-07-07T13:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH</title>
      <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076400#M61611</link>
      <description>&lt;P&gt;windows file explorer... examine your clone for the paths that I cited earlier&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;activate your clone then&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; conda list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 17:46:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076400#M61611</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-07T17:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH</title>
      <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076583#M61621</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Yes, all of those paths are there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 02:49:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1076583#M61621</guid>
      <dc:creator>LewisTrotter</dc:creator>
      <dc:date>2021-07-08T02:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH</title>
      <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1078577#M61727</link>
      <description>&lt;P&gt;Did you clone from the command line? The python package manager GUI in Pro won't create clones in C:\Program Files\etc... as far as I'm aware.&lt;/P&gt;&lt;P&gt;Did you install an updated/non-esri channel&amp;nbsp;GDAL?&amp;nbsp;&lt;/P&gt;&lt;P&gt;In python, &lt;FONT face="courier new,courier"&gt;from osgeo import gdal; gdal.__version__&lt;/FONT&gt; should return 2.33e which is an Esri customised gdal and automatically sets "GDAL_DRIVER_PATH" for you (in &lt;FONT face="courier new,courier"&gt;[env dir]/Lib/site-packages/osgeo/__init__.py&lt;/FONT&gt;).&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 06:45:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1078577#M61727</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2021-07-14T06:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning ArcGIS Pro 2.8 default environment misses GDAL_DRIVER_PATH</title>
      <link>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1078578#M61728</link>
      <description>&lt;P&gt;Thanks Luke!&lt;/P&gt;&lt;P&gt;I installed via the command line using:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;conda create --clone arcgispro-py3 --name arcgispro-py3-dev-tool
activate arcgispro-py3-dev-tool

conda install dask
conda install rasterio&lt;/LI-CODE&gt;&lt;P&gt;When I check gdal version I get&amp;nbsp; 2.3.3e.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 06:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cloning-arcgis-pro-2-8-default-environment-misses/m-p/1078578#M61728</guid>
      <dc:creator>LewisTrotter</dc:creator>
      <dc:date>2021-07-14T06:02:40Z</dc:date>
    </item>
  </channel>
</rss>

