Skip to main content
Solved

Python interpreter Error . Need to run Arcpy code

  • July 15, 2019
  • 3 replies
  • 28 views

I am new to FME. I have lot of Arcpy code which I want to run on FME

I tried to follow this example https://knowledge.safe.com/articles/47216/using-arcpy-for-fme-feature-processing.html. But I am getting below error

I am currently using Arcgis Pro 2.4 and FME 2019.1

Could any one please help

This is the error I get :-

 

The python interpreter I am using :

 

Many Thanks,

Divya

Best answer by rahulsharma

Hi @divya

 

Can you confirm if you have Data Interop for ArcGIS Pro?

 

If yes, given current scenario you can run your code in that version which should work as expected. If you do not have Data Interoperability for ArcGIS Pro 2.4, the next best thing would be to try an earlier version of ArcGIS Pro as ArcGIS Pro 2.4 is just recently released official support will be added in FME Desktop 2019.2

Once the support is added for ArcGIS Pro 2.4, please switch the Preferred Python Interpreter to `Esri ArcGIS Pro 2.1/...../2.4` version

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.

3 replies

rahulsharma
Safer
Forum|alt.badge.img+10
  • Safer
  • Best Answer
  • July 15, 2019

Hi @divya

 

Can you confirm if you have Data Interop for ArcGIS Pro?

 

If yes, given current scenario you can run your code in that version which should work as expected. If you do not have Data Interoperability for ArcGIS Pro 2.4, the next best thing would be to try an earlier version of ArcGIS Pro as ArcGIS Pro 2.4 is just recently released official support will be added in FME Desktop 2019.2

Once the support is added for ArcGIS Pro 2.4, please switch the Preferred Python Interpreter to `Esri ArcGIS Pro 2.1/...../2.4` version


  • Author
  • July 18, 2019

Hi @divya

 

Can you confirm if you have Data Interop for ArcGIS Pro?

 

If yes, given current scenario you can run your code in that version which should work as expected. If you do not have Data Interoperability for ArcGIS Pro 2.4, the next best thing would be to try an earlier version of ArcGIS Pro as ArcGIS Pro 2.4 is just recently released official support will be added in FME Desktop 2019.2

Once the support is added for ArcGIS Pro 2.4, please switch the Preferred Python Interpreter to `Esri ArcGIS Pro 2.1/...../2.4` version

Hi @rahulsharma,

Thank you for your answer. I have followed it. After installing ArcGIS Pro 2.3 and Switching the Preferred Python Interpreter to `Esri ArcGIS Pro 2.1/...../2.3. Things Started working!


rahulsharma
Safer
Forum|alt.badge.img+10
  • Safer
  • August 20, 2019

Hi @divya

 

Can you confirm if you have Data Interop for ArcGIS Pro?

 

If yes, given current scenario you can run your code in that version which should work as expected. If you do not have Data Interoperability for ArcGIS Pro 2.4, the next best thing would be to try an earlier version of ArcGIS Pro as ArcGIS Pro 2.4 is just recently released official support will be added in FME Desktop 2019.2

Once the support is added for ArcGIS Pro 2.4, please switch the Preferred Python Interpreter to `Esri ArcGIS Pro 2.1/...../2.4` version

Support for ArcGIS Pro 2.4 is now added with FME Desktop 2019.2 (19734 ) and 2020 beta