mac – Set python version on MacOS Big Sur

does someone had situation when “python –version” says “Python 2.7.16”, but installed version is 3.7

Command “pyenv versions” says “* 3.7.11 (set by /Users/dima/.python-version)”

My applications see also just version “2.7.16”.

Does someone know how to set default Python version to installed “3.7.11”?

Thanks a lot!