Skip to main content
Question

arcpy in 64-bit FME

  • September 19, 2017
  • 5 replies
  • 39 views

jdh
Contributor
Forum|alt.badge.img+38

Has anyone experienced FME crashes when importing arcpy in a 64 bit FME from ArcGIS 10.4.1.

The arcpy from ArcGIS 10.3.x has no issue with 64 bit FME, and the 10.4.1 works with 32 bit FME.

 

 

In 32-bit I'm pointing to C:\\Windows\\SysWOW64\\python27.dll

 

In 64-bit I'm pointing to C:\\Windows\\System32\\python27.dll

 

 

If I use any other interpreter I get the "no module named arcpy" error.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

courtney_m
Contributor
Forum|alt.badge.img+19
  • Contributor
  • September 19, 2017

I did notice that in your post, you have the 32-bit pointing to 64-bit Python and vice-versa. Is this a typo? Also, have you tried installing the ArcGIS 64-bit Background Geoprocessing plugin? If I am using ArcGIS and 64-bit FME, I always install the geoprocessing plugin that matches the version of ArcGIS that I have installed - I am wondering if this could help.


jdh
Contributor
Forum|alt.badge.img+38
  • Author
  • Contributor
  • September 19, 2017

I did notice that in your post, you have the 32-bit pointing to 64-bit Python and vice-versa. Is this a typo? Also, have you tried installing the ArcGIS 64-bit Background Geoprocessing plugin? If I am using ArcGIS and 64-bit FME, I always install the geoprocessing plugin that matches the version of ArcGIS that I have installed - I am wondering if this could help.

It's not backwards, it's just weird. As per https://knowledge.safe.com/articles/29799/importing-arcpy-troubleshooting-ideas.html

 

If using 32-bit FME, the path to the ArcGIS Python Interpreter will resemble the following:

 

C:\\Windows\\SysWOW64\\python27.dll

 

If using 64-bit FME, the path to the ArcGIS Python interpreter will resemble the following:

 

C:\\Windows\\System32\\python27.dll

 

 

I do have the 64 bit geoprocessing plugin installed.

 

 

 


courtney_m
Contributor
Forum|alt.badge.img+19
  • Contributor
  • September 19, 2017
It's not backwards, it's just weird. As per https://knowledge.safe.com/articles/29799/importing-arcpy-troubleshooting-ideas.html

 

If using 32-bit FME, the path to the ArcGIS Python Interpreter will resemble the following:

 

C:\\Windows\\SysWOW64\\python27.dll

 

If using 64-bit FME, the path to the ArcGIS Python interpreter will resemble the following:

 

C:\\Windows\\System32\\python27.dll

 

 

I do have the 64 bit geoprocessing plugin installed.

 

 

 

Ahh, that is weird. I am afraid I am of no help then :-(

 

@MarkAtSafe, do you have any insight, since you edited the previously mentioned article?

david_r
Celebrity
  • September 19, 2017

If you have several Python interpreters on the same machine, make sure to point the PYTHONHOME environment variable to the correct installation directory. Just specifying the pythonxx.dll isn't always enough.


jdh
Contributor
Forum|alt.badge.img+38
  • Author
  • Contributor
  • September 19, 2017

If you have several Python interpreters on the same machine, make sure to point the PYTHONHOME environment variable to the correct installation directory. Just specifying the pythonxx.dll isn't always enough.

PYTHONHOME is set to C:\\Python27\\ArcGISx6410.4 which seems correct.