I am executing my
./shell.sh which contains
eval "$(pyenv init -)" pyenv shell 3.8.2
But nothing happens. If i run this code in bash manually it works fine and shell version of python switches from
I am in the right directory and I gave the
.sh file execution permissions.