I have installed multiple versions of Python. How do I switch to a different python version AFTER I activated the python environement with pyenv activate my-virtual-env ?
My current approcah is simply delete the virtual environment using pyenv uninstall my-virtual-envor pyenv virtualenv-delete my-virtual-env, then switch to the latest python version and recreate the virtual environment using pyenv virtualenv venv