<?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: Script runs on some computers, fails on others. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120219#M9439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They have arcmap installed on their machine as well I presume?&amp;nbsp; and what version of ArcMap??? Can you open a python window in arcmap on their machine?&amp;nbsp; Can you import arcpy? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2017 10:40:34 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-04-24T10:40:34Z</dc:date>
    <item>
      <title>Script runs on some computers, fails on others.</title>
      <link>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120217#M9437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a script which extracts land parcel polygons from a master dataset based on various user inputs such as local government area, vegetation type, agricultural land class type, etc. One of the outputs of the tool is an excel spreadsheet which I create using arcpy.TableToExcel_conversion. This works fine on my machine but throws the following error on a colleagues machine.&amp;nbsp;Can anyone offer any insight into why this error is occurring?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;BR /&gt;Gino&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #d70019;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #d70019;"&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 327, in execute&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #d70019;"&gt;AttributeError: 'module' object has no attribute 'TableToExcel_conversion'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #d70019;"&gt;Failed to execute (LandInvestigationShortlistingTool).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 06:39:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120217#M9437</guid>
      <dc:creator>GinoMellino</dc:creator>
      <dc:date>2017-04-24T06:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Script runs on some computers, fails on others.</title>
      <link>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120218#M9438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sharing or using script as tool or script.&lt;/P&gt;&lt;P&gt;Try to create Custom tool using your script and use this with your colleges system.&lt;/P&gt;&lt;P&gt;Most of the time its working without any error.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-8559"&gt;https://community.esri.com/docs/DOC-8559&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 10:28:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120218#M9438</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-04-24T10:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script runs on some computers, fails on others.</title>
      <link>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120219#M9439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They have arcmap installed on their machine as well I presume?&amp;nbsp; and what version of ArcMap??? Can you open a python window in arcmap on their machine?&amp;nbsp; Can you import arcpy? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 10:40:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120219#M9439</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-04-24T10:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Script runs on some computers, fails on others.</title>
      <link>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120220#M9440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To follow-up on Dan's comments, how are you executing the script, exactly?&amp;nbsp; Do some of the machines have multiple version or distributions of Python installed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 12:22:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120220#M9440</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-04-24T12:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Script runs on some computers, fails on others.</title>
      <link>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120221#M9441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does he have the same excel version as you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solomon Pulapkura&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.vestra.com/gis"&gt;https://www.vestra.com/gis&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120221#M9441</guid>
      <dc:creator>SolomonPulapkura</dc:creator>
      <dc:date>2017-04-25T07:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Script runs on some computers, fails on others.</title>
      <link>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120222#M9442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And depending on the Excel/Office version installed, you may also want to make sure that the compatibility patch for Office is installed, if appropriate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thread &lt;A href="https://community.esri.com/thread/72536"&gt;ARc for Desktop 10.1 and Microsoft Office 2013&lt;/A&gt;&amp;nbsp; had a different issue, but I have seen other threads to that installing the patch helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct download of the patch &lt;A class="link-titled" href="https://www.microsoft.com/en-us/download/confirmation.aspx?id=23734" title="https://www.microsoft.com/en-us/download/confirmation.aspx?id=23734"&gt;Download 2007 Office Sy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.microsoft.com/en-us/download/confirmation.aspx?id=23734" title="https://www.microsoft.com/en-us/download/confirmation.aspx?id=23734"&gt;stem Driver: Data Connectivity Components from Official Microsoft Download Center&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 15:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120222#M9442</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-04-25T15:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script runs on some computers, fails on others.</title>
      <link>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120223#M9443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the replies and sorry for the late reply on my part. I think Dan has nailed it, the users are running ArcGIS 10.1 which does not have the Excel tools as I understand they were added at ArcGIS 10.2. I wrongly assumed they would be running the latest version approved by our department, i.e. 10.4.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will get them upgraded and try again to see if this resolves the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers for all your help.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2017 07:01:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120223#M9443</guid>
      <dc:creator>GinoMellino</dc:creator>
      <dc:date>2017-04-26T07:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Script runs on some computers, fails on others.</title>
      <link>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120224#M9444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Confirmed the issue was with the version of ArcGIS on the target users machine. Rookie mistake...Thanks for your help Dan and everyone.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 06:55:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-runs-on-some-computers-fails-on-others/m-p/120224#M9444</guid>
      <dc:creator>GinoMellino</dc:creator>
      <dc:date>2017-05-10T06:55:22Z</dc:date>
    </item>
  </channel>
</rss>

