We're getting this error when trying to import a module:
"Using user-specified Python interpreter from C:\\Windows\\System32\\python27.dll
Python version 2.7 successfully loaded
Adding folder `xxxxxxxxxxxxxxxx' to the python path
Emptying factory pipeline
Python Exception <ImportError>: DLL load failed: The specified module could not be found.
Error executing string `import fme
import fmeobjects
import arcpy
import lxml
import sys
#sys.path.append('C:\\Python27\\ArcGIS10.3\\Lib\\site-packages\\lxml')
from lxml import etree
..................."
It is okay when I just have: import lxml
We've imported lxml using a Windows exe to the version of Python in the registry which is: C:\\Python27\\ArcGIS10.3
When using this version of Python outside of FME it works fine: we can do 'import lxml' and also 'from lxml import etree'
I've tried adding the path to the module to the end of the PYTHONPATH environment variable.