use python as python3 zsh

C++
$ pyenv global 3.7.3
# and verify it worked 
$ pyenv version
3.7.3 (set by /Users/mbbroberg/.pyenv/version)# Go into your .zshrc file. Is there a line that reads:
alias python='python3'
Source

Also in C++: