diff --git a/src/qpython_priv.cpp b/src/qpython_priv.cpp index 687f9e4..efe1b51 100644 --- a/src/qpython_priv.cpp +++ b/src/qpython_priv.cpp @@ -532,7 +532,9 @@ QPythonPriv::QPythonPriv() PyImport_AppendInittab("pyotherside", PyOtherSide_init); Py_InitializeEx(0); +#if PY_VERSION_HEX < 0x03070000 PyEval_InitThreads(); +#endif // Initialize sys.argv (https://github.com/thp/pyotherside/issues/77) int argc = 1;