Skip to main content
Question

How to use the ArcGIS python library in FME?

  • October 19, 2018
  • 1 reply
  • 197 views

martinkoch
Supporter
Forum|alt.badge.img+22

Hello all,

I want to use the ArcGIS api from PythonCallers in FME, and do that on server.

https://developers.arcgis.com/python/guide/install-and-set-up/

All works fine on desktop, when I switch to the ArcGIS Pro python.

When I install the library, and its dependencies in my Documents/FME/Plugins/Python/python36, and use the Default Python 3.6 for my workspace, I get a message 

Python Exception <ImportError>: dateutil 2.5.0 is the minimum required version

When I do

import fme
import fmeobjects
import dateutil

def processFeature(feature):
    logger = fmeobjects.FMELogFile()
    logger.logMessageString("dateutil is version {}".format(dateutil.__version__)) 

I get 

dateutil is version 2.4.0

Even when I have added the dateutil 2.7.3 package to my plugins/Python/python36 folder. It seems I can't override the dateutil-version and therefore not use the arcgis library.

I do not intend to install ArcGIS Pro on our server, as of licencing, overhead, and I want this to run on FME Cloud as well, which is Linux based.

Hope someone can help.

Kind regards,

Martin

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.