Python subprocess run in the background8/23/2023 However, when I attempt to launch a subprocess of arcpy with a 64 bit version of Python, the subprocess script fails upon attempting to import arcpy with the following error:Ĭ:\Python27\ArcGIS圆410.1 Python Traceback Info: File "\\snarf\am\div_lm\ds\gis\projects\lidar_hydro_all \lidar_hydro_child_v101.py", line 7, in import arcpy Python Error Info: : DLL load failed: %1 is not a valid Win32 application. Both versions of python will import and play with arcpy just fine. After installing the 'ArcGIS_BackgroundGP_for_Desktop_101sp1.exe' 64-bit geoprocessing package I have both the 32-bit and 64-bit versions of Python 2.7 on my machine. I have a script that relys on the 'subprocess' module to basically run seperate instances of arcpy as a parallel process.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |