diff --git a/Sources/Plasma/Apps/plPythonPack/PythonInterface.cpp b/Sources/Plasma/Apps/plPythonPack/PythonInterface.cpp index 8d38dfc7..5a8c5c56 100644 --- a/Sources/Plasma/Apps/plPythonPack/PythonInterface.cpp +++ b/Sources/Plasma/Apps/plPythonPack/PythonInterface.cpp @@ -41,6 +41,8 @@ void PythonInterface::initPython(std::string rootDir) // initialize the Python stuff // let Python do some intialization... Py_SetProgramName("plasma"); + Py_NoSiteFlag = 1; + Py_IgnoreEnvironmentFlag = 1; Py_Initialize(); // intialize any of our special plasma python modules