Skip to main content
Solved

Problem using arcpy module in FME 2013

  • May 31, 2013
  • 1 reply
  • 13 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.
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

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