I have been trying to figure this out for a while now and can't get it to work. I want to be able to launch a workspace runner from a python script as detailed here:
https://community.safe.com/s/article/run-an-fme-workspace-from-python-using-fmeworkspac
I append the path to "fmeobjects" as it mentions, which in my case looks like this:
"sys.path.append(r"C:\\Program Files\\ArcGIS\\Data Interoperability for ArcGIS Pro\\fmeobjects\\python37") ".
But when I try to "import fmeobjects" I get the following error:
"ImportError: DLL load failed: The specified module could not be found."
I assume the path is setup correctly otherwise when mistyping the module name it gives a different message "ModuleNotFoundError: No module named 'fmeobject'".
Any ideas what might be going wrong?
I have tried running a program called "Dependency Walker" to see the other dependent ".DLL" files "fmeobjects.pyd" requires. Then adding the directory of those depedent ".DLL" files to the path too. That didn't work.
I've also tried using the python version installed with the extension here:
C:\\Program Files\\ArcGIS\\Data Interoperability for ArcGIS Pro\\fmepython37
I appreciate any advice given!