<?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: Issues with Python scripts after ArcGIS Pro update. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058415#M61144</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp; and thank you for your reply.&lt;/P&gt;&lt;P&gt;The Raster.py is not in the directory that you mentioned.&lt;/P&gt;&lt;P&gt;I didn't do a clean install and didn't use an exe file for the update.&lt;/P&gt;&lt;P&gt;The update was applied through the ArcGIS Pro GUI.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 07:40:53 GMT</pubDate>
    <dc:creator>DimitrisIoannidis</dc:creator>
    <dc:date>2021-05-17T07:40:53Z</dc:date>
    <item>
      <title>Issues with Python scripts after ArcGIS Pro update.</title>
      <link>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058346#M61142</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I was developing a number of stand-alone Python scripts last couple of days and were working perfectly.&lt;/P&gt;&lt;P&gt;Today, I updated the ArcGIS Pro to the new version (2.8.0) and the scripts do not work anymore. Whenever I try to execute them, I get the following message:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 120, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;import arcpy.sa&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\sa\__init__.py", line 18, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;from .Raster import Raster&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ModuleNotFoundError: No module named 'arcpy.sa.Raster'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I navigated to the aforementioned path in order to find the Raster.py file but it was not there.&lt;/P&gt;&lt;P&gt;Could you, please, help me with this?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 19:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058346#M61142</guid>
      <dc:creator>DimitrisIoannidis</dc:creator>
      <dc:date>2021-05-16T19:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Python scripts after ArcGIS Pro update.</title>
      <link>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058359#M61143</link>
      <description>&lt;P&gt;C:\...YourInstallFolder...\Resources\ArcPy\arcpy\sa\Raster.py&lt;/P&gt;&lt;P&gt;it is there.&lt;/P&gt;&lt;P&gt;Did you do a clean install?&amp;nbsp; An install from the downloaded *.exe (or *.msi)?&amp;nbsp; Or did you update through Pro?&lt;/P&gt;&lt;P&gt;through python&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy.sa.Raster as R
dir(R)
['RAT', ... snip
 'addDimension', 'appendSlices', 'bandCount', 'bandNames', 'bands', 'blockSize', 'catalogPath', 'compressionType', 'exportImage', 'extent',
...snip
 'setVariableAttributes', 'slices', 'spatialReference', 'standardDeviation',
 'uncompressedSize', 'variableNames', 'variables', 'width', 'write']&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 21:06:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058359#M61143</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-05-16T21:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Python scripts after ArcGIS Pro update.</title>
      <link>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058415#M61144</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp; and thank you for your reply.&lt;/P&gt;&lt;P&gt;The Raster.py is not in the directory that you mentioned.&lt;/P&gt;&lt;P&gt;I didn't do a clean install and didn't use an exe file for the update.&lt;/P&gt;&lt;P&gt;The update was applied through the ArcGIS Pro GUI.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 07:40:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058415#M61144</guid>
      <dc:creator>DimitrisIoannidis</dc:creator>
      <dc:date>2021-05-17T07:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Python scripts after ArcGIS Pro update.</title>
      <link>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058480#M61150</link>
      <description>&lt;P&gt;I was curious if this was widespread, so I checked mine. I upgraded to 2.8 through the Pro GUI and I still see the Raster.py in my folder.&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 13:23:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058480#M61150</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2021-05-17T13:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Python scripts after ArcGIS Pro update.</title>
      <link>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058564#M61155</link>
      <description>&lt;P&gt;Don't know.&amp;nbsp; I always do a clean install from the *.exe to get the *.msi and the *.cab, so I have a copy and don't need to re-download.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I always find clean installs save me the most time... a little house tidying is usually in order between versions.&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 15:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058564#M61155</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-05-17T15:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Python scripts after ArcGIS Pro update.</title>
      <link>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058587#M61159</link>
      <description>&lt;P&gt;I have downloaded the .exe file and applied a Repair Install.&lt;/P&gt;&lt;P&gt;I am good to go, now. Everything runs perfectly.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/401001"&gt;@ChelseaRozek&lt;/a&gt; thank you so much for your inputs!&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 16:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issues-with-python-scripts-after-arcgis-pro-update/m-p/1058587#M61159</guid>
      <dc:creator>DimitrisIoannidis</dc:creator>
      <dc:date>2021-05-17T16:02:10Z</dc:date>
    </item>
  </channel>
</rss>

