Here is my C++ code to call simple function from Python.
//main.cpp #include int main(int argc, char *argv[]) { setenv("PYTHONPATH&