Using Embedded python with c++, I was able to call python file from C++.
Python file contains: from lxml import etree The python file runs successfully in python3.6 I