Use Py_GetPythonHome() instead of getenv("PYTHONHOME").
1 file changed