Skip to main content
Solved

Problem using arcpy module in FME 2013

  • May 31, 2013
  • 1 reply
  • 21 views

Forum|alt.badge.img
Hello,

 

 

I started using FME 2013 a couple of weeks ago and I am having problems in importing arcpy module in a startup python script.

 

Every time I try to run the process I get this message:

 

 

"Python Exception <ImportError>: No module named arcpy"

 

 

I checked the following article in FMEpedia and set the Path Environment Varible but the problem continues.

 

On the other hand, I don't belive that I am having the second problem described in the article since I don't get the error dialog box.

 

 

http://fmepedia.safe.com/articles/Samples_and_Demos/Using-a-Python-Startup-Shutdown-Script-to-Perform-Geoprocessing-with-Arcpy

 

 

Anyone have an idea of what could be happening?

 

 

Thanks,

 

Gabriel

Best answer by gabriellb

I figure it out the way to deal with this. I had to use a Custom Python Interpreter in the Runtime options.

 

ArcGIS 10 uses Python 2.6 and that seemed to be the problem.

 

Now the script is working fine.
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.

1 reply

Forum|alt.badge.img
  • Author
  • Best Answer
  • May 31, 2013
I figure it out the way to deal with this. I had to use a Custom Python Interpreter in the Runtime options.

 

ArcGIS 10 uses Python 2.6 and that seemed to be the problem.

 

Now the script is working fine.