--- qbittorrent-3.3.1/src/base/utils/misc.cpp.orig 2015-12-07 23:51:36.000000000 +0100 +++ qbittorrent-3.3.1/src/base/utils/misc.cpp 2015-12-28 16:06:32.645301518 +0100 @@ -273,6 +273,11 @@ executable = "python2"; return executable; } + pythonProc.start("python2.7", QStringList() << "--version", QIODevice::ReadOnly); + if (pythonProc.waitForFinished() && pythonProc.exitCode() == 0) { + executable = "python2.7"; + return executable; + } #endif // Look for "python" in Windows and in UNIX if "python2" and "python3" are // not detected.