Skip to main content
Question

User-specified library could not be loaded FME 2017.1.1

  • October 12, 2017
  • 2 replies
  • 86 views

I have a startup python script which runs perfectly fine with the previous FME 2017.0 version, but after I upgraded my old work space using the newest FME 2017.1.1 version, the work space failed to run. It gave me this warning message "The User-specified library C:\\Program Files\\FME\\fme.exe could not be loaded". I'm wondering if this has something to do with the installation of fme and python library. Also I have two error messages saying "Python Exception : No module named arcpy", "Error executing string `import os". Does this mean I have to reinstall arcpy library? Can anyone give me some suggestions?

Appreciated it!

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.

2 replies

david_r
Celebrity
  • 8394 replies
  • October 13, 2017

It's difficult to be specific without knowing the specifics, but I'd try the following:

  1. Make sure you follow this article really closely when specifying the python interpreter dll: https://knowledge.safe.com/articles/814/choosing-a-different-python-interpreter-installati.html
  2. Define the PYTHONHOME environment variable and point it to your arcpy Python directory, e.g. C:\\Python27\\ArcGIS10.3
  3. Reboot

Let us know how that works.


  • Author
  • 2 replies
  • November 2, 2017

I figured this out. It seems FME has changed the names for different forms of python compatibility. I have to specifically choose python2.7(ArcGIS) in order for it to work. Thank you very much for your support.