I have installed pyenv
and used it to install Python 3.8.1 I had Python 3.7.6 installed manually before.
I have set 3.8.1 as global
and, as this version is now markered with *
, it was taken into account. However, which python3
and python3 -V
are still outputting the values of 3.7.6
! I have restarted the shell, but, unfortunately, the outputs are still the same.
Is this as expected behaviour? How to switch it to 3.8.1 properly?
NB echo $PATH
outputs
/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin
Best Answer
https://github.com/pyenv/pyenv#basic-github-checkout
-
Restart Shell