Importing fmeobjects into PyQGIS

المشرف العام

Administrator
طاقم الإدارة
I use FME a lot for manipulation of spatial data, and would like to leverage it's Python library, fmeobjects in PyQgis.

If I run the following in my standard Python IDE it works fine:

import sys sys.path.append("C:\\Program Files (x86)\\fme\\fmeobjects\\python27") import fmeobjectsBut the exact same code, when run in PyQgis, throws ImportError: DLL load failed: The specified module could not be found.

In actual fact, fmeobjects is a .pyd file. I don't know if that's the problem, as my understanding is that pyd and dll are analogous to each other.

How can I get fmeobjects to import into PyQgis?



أكثر...
 
أعلى