python3 command not found after installing python with pyenv

If you installed both python 2.x and python 3.x using pyenv, run the following to enable both versions to be found globally (python, python2 and python3 aliases).

Add the specific versions you are using:

pyenv global 3.8.3 2.7.18

Leave a Comment