matus

Problem running script with python multiprocessing from toolbox with 64-bit python.

Discussion created by matus on Oct 4, 2017
Latest reply on Nov 29, 2017 by akmanchianand

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:

 

ERROR 000714: Error in script MyScriptMultiproc.
Error in executing: cmd.exe /C D:\MyScriptMultiproc.py "#"

 

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.

 

Any idea would be very appreciated.

Outcomes