Updated the python version at Gitpod but still it is taking the older version, need help?

Updated the python version at Gitpod but still it is taking the older version, need help?

Hi Emma-crepeau,

You can switch between python versions by below command, this will create ".python-version" file that controls which Python version is the default in your project:

pyenv local <VERSION>

Please make sure in case you are running it in a Dockerfile, replace local with global to change the system default.)

pyenv global <VERSION>