<?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: Engine 10.2.1 background geoprocessing 64 bit in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/engine-10-2-1-background-geoprocessing-64-bit/m-p/223195#M17256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens if you use the 64 bit instance of the python exe that comes with the background gp/ArcGIS Server install? It should be in a path similar to C:\Python27\ArcGISx6410.3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're not using ArcObjects to process anything you shouldn't need to have any references to any ArcObjects classes in your code. Are you just needing a c# console application to run a script against 64 bit python?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 18:35:24 GMT</pubDate>
    <dc:creator>FreddieGibson</dc:creator>
    <dc:date>2016-03-14T18:35:24Z</dc:date>
    <item>
      <title>Engine 10.2.1 background geoprocessing 64 bit</title>
      <link>https://community.esri.com/t5/python-questions/engine-10-2-1-background-geoprocessing-64-bit/m-p/223194#M17255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;i have to execute a geoprocessing inside Engine 10.2.1 operation and after that launch cmd (with 64 bit python executable) using following c# code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Geoprocessor g = new Geoprocessor();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;string PythonPath = @C:\sample.py";&lt;/P&gt;&lt;P&gt;System.Diagnostics.ProcessStartInfo start = new System.Diagnostics.ProcessStartInfo();&lt;/P&gt;&lt;P&gt;start.FileName = @"C:\Python27\ArcGISx6410.2\python.exe";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start.Arguments = string.Format("{0} {1}", PythonPath, "Param");&lt;/P&gt;&lt;P&gt;start.RedirectStandardOutput = false;&lt;/P&gt;&lt;P&gt;start.UseShellExecute = true;&lt;/P&gt;&lt;P&gt;System.Diagnostics.Process process = System.Diagnostics.Process.Start(start);&lt;/P&gt;&lt;P&gt;process.WaitForExit();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cmd windows and py script launch doesnt work if before i istance geoprocessor.&lt;/P&gt;&lt;P&gt;If i rem&amp;nbsp; //Geoprocessor g = new Geoprocessor(); all works good.&lt;/P&gt;&lt;P&gt;If i use 32 bit console ( start.FileName = @"C:\Python27\ArcGIS10.2\python.exe";) all works good always , with or without instance of geoprocessor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;P&gt;GP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 17:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/engine-10-2-1-background-geoprocessing-64-bit/m-p/223194#M17255</guid>
      <dc:creator>MarcoRosa</dc:creator>
      <dc:date>2016-03-14T17:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Engine 10.2.1 background geoprocessing 64 bit</title>
      <link>https://community.esri.com/t5/python-questions/engine-10-2-1-background-geoprocessing-64-bit/m-p/223195#M17256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens if you use the 64 bit instance of the python exe that comes with the background gp/ArcGIS Server install? It should be in a path similar to C:\Python27\ArcGISx6410.3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're not using ArcObjects to process anything you shouldn't need to have any references to any ArcObjects classes in your code. Are you just needing a c# console application to run a script against 64 bit python?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 18:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/engine-10-2-1-background-geoprocessing-64-bit/m-p/223195#M17256</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2016-03-14T18:35:24Z</dc:date>
    </item>
  </channel>
</rss>

