Skip to main content

I'm wondering if anyone else is using FME 2019.1 alongside ArcGIS 10.7.1 with 64bit Geoprocessing and is experiencing strange python behavior/errors?

I've noticed many errors with workbenches that have startup/shutdown python scripts such as "DLL load failed: %1 is not a valid Win32 application" (Only occurs when a workspace runner kicks off another workbench that contains a startup python script, running the 2nd workbench itself does not invoke this error)

To FME loading Python 3.7 despite the workbench specifying 2.7. I've also seen generic failed to execute python scripts.

I can uninstall ArcGIS 10.7.1 and reinstall ArcGIS 10.6.1 and all workbenches run without issue. The moment I install ArcGIS 10.7.1 all these issues appear.

I had the same problem, i changed the python home enviroment variable to the path where the 64bit Geoprocessing is installed is. in my case this solved the problem.

 

E.g: PYTHONHOME: C:\\Python27\\ArcGISx6410.7


Thanks @clemensb, I tried either putting C:\\Python27\\ArcGISx6410.7 in my PATH variable as well as PYTHONHOME but no luck. I can confirm by setting C:\\Python27\\ArcGISx6410.7 in either PATH or PYTHONHOME I can launch python from CMD and doing a "where python" in CMD reveals it's pointing to C:\\Python27\\ArcGISx6410.7 .


Thanks @clemensb, I tried either putting C:\\Python27\\ArcGISx6410.7 in my PATH variable as well as PYTHONHOME but no luck. I can confirm by setting C:\\Python27\\ArcGISx6410.7 in either PATH or PYTHONHOME I can launch python from CMD and doing a "where python" in CMD reveals it's pointing to C:\\Python27\\ArcGISx6410.7 .

This is strange. Is in your Workspace Parameters/scripting/Python Compatibility set to Esri ArcGIS Desktop (Python 2.7)?


This is strange. Is in your Workspace Parameters/scripting/Python Compatibility set to Esri ArcGIS Desktop (Python 2.7)?

Yup I've tried both ESRI and FME python 2.7


Reply