<?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: Problem running script with python multiprocessing from toolbox with 64-bit python. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/problem-running-script-with-python-multiprocessing/m-p/404739#M31877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/matus"&gt;matus&lt;/A&gt;‌, were you ever able to get the geoprocessing service running with multiprocessing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Nov 2017 07:48:51 GMT</pubDate>
    <dc:creator>WhereMatters</dc:creator>
    <dc:date>2017-11-30T07:48:51Z</dc:date>
    <item>
      <title>Problem running script with python multiprocessing from toolbox with 64-bit python.</title>
      <link>https://community.esri.com/t5/python-questions/problem-running-script-with-python-multiprocessing/m-p/404736#M31874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble with running script that uses python multiprocessing. I need it to run from toolbox. To run it, I have to uncheck "Run in process" option in toolbox script. The tool/script seems to run just fine with 32-bit python. The problem is that I need to get it to work with 64-bit python, since I wish to use it as a geoprocessing service in ArcGIS server. But when I try it with 64-bit python I am getting this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR 000714: Error in script MyScriptMultiproc.&lt;BR /&gt;Error in executing: cmd.exe /C D:\MyScriptMultiproc.py "#"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strangest part is that when I open command prompt and enter that command, it works like charm and I can see that it uses 64-bit version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea would be very appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 05:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-running-script-with-python-multiprocessing/m-p/404736#M31874</guid>
      <dc:creator>matuskajba</dc:creator>
      <dc:date>2017-10-05T05:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running script with python multiprocessing from toolbox with 64-bit python.</title>
      <link>https://community.esri.com/t5/python-questions/problem-running-script-with-python-multiprocessing/m-p/404737#M31875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That error has been reported here... with a couple of causes&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDg2OTg0"&gt;http://support.esri.com/en/bugs/nimbus/TklNMDg2OTg0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/en/technical-article/000011468"&gt;http://support.esri.com/en/technical-article/000011468&lt;/A&gt;&lt;/P&gt;&lt;P&gt;such as&lt;/P&gt;&lt;P&gt;Note: 'Out of process' pertains to Python scripts that have the 'Run Python script in process' property disabled (Script Properties &amp;gt; Source).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 09:39:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-running-script-with-python-multiprocessing/m-p/404737#M31875</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-10-05T09:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running script with python multiprocessing from toolbox with 64-bit python.</title>
      <link>https://community.esri.com/t5/python-questions/problem-running-script-with-python-multiprocessing/m-p/404738#M31876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan, thank you for useful articles. Now I know that I can't run it with 64-bit python on Desktop and I can live with running it with 32-bit on Desktop.&lt;/P&gt;&lt;P&gt;The other thing is that I need to run in on Server and I need to run it "out of process", otherwise I am getting forking error.&lt;/P&gt;&lt;P&gt;As far as I know the server doesn't have Data Interoperability installed, so maybe the c++ runtime mentioned in second article would not be my case, but I think, I am going to check it and give it try anyway...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 11:03:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-running-script-with-python-multiprocessing/m-p/404738#M31876</guid>
      <dc:creator>matuskajba</dc:creator>
      <dc:date>2017-10-05T11:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running script with python multiprocessing from toolbox with 64-bit python.</title>
      <link>https://community.esri.com/t5/python-questions/problem-running-script-with-python-multiprocessing/m-p/404739#M31877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/matus"&gt;matus&lt;/A&gt;‌, were you ever able to get the geoprocessing service running with multiprocessing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 07:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-running-script-with-python-multiprocessing/m-p/404739#M31877</guid>
      <dc:creator>WhereMatters</dc:creator>
      <dc:date>2017-11-30T07:48:51Z</dc:date>
    </item>
  </channel>
</rss>

