Skip to main content
Question

FME Python27 is deprecated and not able to use arcpy inside FME

  • April 15, 2020
  • 4 replies
  • 27 views

raaaju1990
Contributor
Forum|alt.badge.img+9
Hi,

 

I was using arcpy inside fme workbench. Till yesterday everything was good. Now today , FME python 27 has been deprecated and 'im not able to import arcpy module. Is there any workaround for this?

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.

4 replies

david_r
Celebrity
  • April 15, 2020

Python 2.7 has been deprecated since 1.1.2020, so it's not something that changed very recently. More info: https://knowledge.safe.com/articles/71635/python-27-deprecation.html

Did you upgrade FME? If so, you need to actively install the Python 2.7 libraries during installation.

Concerning arcpy, you need to make sure that the workspace points to a licensed installation of ArcGIS for Desktop (not ArcGIS Pro, which comes with Python 3.x). More info: https://knowledge.safe.com/articles/29799/importing-arcpy-troubleshooting-ideas.html


raaaju1990
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • April 15, 2020

Python 2.7 has been deprecated since 1.1.2020, so it's not something that changed very recently. More info: https://knowledge.safe.com/articles/71635/python-27-deprecation.html

Did you upgrade FME? If so, you need to actively install the Python 2.7 libraries during installation.

Concerning arcpy, you need to make sure that the workspace points to a licensed installation of ArcGIS for Desktop (not ArcGIS Pro, which comes with Python 3.x). More info: https://knowledge.safe.com/articles/29799/importing-arcpy-troubleshooting-ideas.html

Hi David, yes it was deprecated long back. Actually python 27 libraries were not installed during upgradation process of fme desktop. Now I have installed it. But, now when Im trying to use ESRI python interpretor , the FME throws error running translation and pop up windows saying fme.exe has stopped working. Not sure why. This was working fine till yesterday.


raaaju1990
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • April 15, 2020

Python 2.7 has been deprecated since 1.1.2020, so it's not something that changed very recently. More info: https://knowledge.safe.com/articles/71635/python-27-deprecation.html

Did you upgrade FME? If so, you need to actively install the Python 2.7 libraries during installation.

Concerning arcpy, you need to make sure that the workspace points to a licensed installation of ArcGIS for Desktop (not ArcGIS Pro, which comes with Python 3.x). More info: https://knowledge.safe.com/articles/29799/importing-arcpy-troubleshooting-ideas.html

 

 

Below is the message I get.

 


david_r
Celebrity
  • April 15, 2020

 

 

Below is the message I get.

 

Am I right in assuming you have FME 64-bit and ArcGIS for Desktop with the 64-bit Background Geoprocessing as well?