Skip to main content
Question

FME 2019.1 and ArcGIS 10.7.1 Python Issues?

  • September 25, 2019
  • 4 replies
  • 11 views

Forum|alt.badge.img

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.

4 replies

clemensb
Contributor
Forum|alt.badge.img+5
  • Contributor
  • September 26, 2019

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


Forum|alt.badge.img
  • Author
  • September 26, 2019

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 .


clemensb
Contributor
Forum|alt.badge.img+5
  • Contributor
  • September 26, 2019
aachow wrote:

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)?


Forum|alt.badge.img
  • Author
  • September 26, 2019
clemensb wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings