support both pyversions in conf