init the pyenv when required