Can't rely on python --version being in stderr

Sorry for the very long line length