I have already saved in .bashrc file:
# pyenv setup, can place last in file export PATH="$HOME/.pyenv/bin:$PATH" eval "$(pyenv init --path)" eval "$(pyenv init -)"but i am still unable to use python2.7 ?

~ pyenv local 2.7.18 ✔ ~ python ✔ Python 3.12.3 (main, Apr 23 2024, 09:16:07) [GCC 13.2.1 20240417] on linux Type "help", "copyright", "credits" or "license" for more information. >>> KeyboardInterrupt >>> ~ pyenv global 2.7.18 ✔ 6s ~ python ✔ Python 3.12.3 (main, Apr 23 2024, 09:16:07) [GCC 13.2.1 20240417] on linux Type "help", "copyright", "credits" or "license" for more information. >>>