auto-detect python version when configuring