diff --git a/Sources/Plasma/FeatureLib/pfPython/cyPythonInterface.cpp b/Sources/Plasma/FeatureLib/pfPython/cyPythonInterface.cpp index 1eec0183..dc600090 100644 --- a/Sources/Plasma/FeatureLib/pfPython/cyPythonInterface.cpp +++ b/Sources/Plasma/FeatureLib/pfPython/cyPythonInterface.cpp @@ -838,6 +838,8 @@ void PythonInterface::initPython() // initialize the Python stuff // let Python do some initialization... Py_SetProgramName("plasma"); + Py_NoSiteFlag = 1; + Py_IgnoreEnvironmentFlag = 1; Py_Initialize(); #if defined(HAVE_CYPYTHONIDE) && !defined(PLASMA_EXTERNAL_RELEASE)