Python3 pour macOS

Les différentes manières d’installer Python3 sur macOS : The right and wrong way to set Python 3 as default on a Mac

En résumé, voici ce qu’il faut faire.

$ brew install pyenv
$ pyenv install 3.7.7
$ pyenv global 3.7.7
$ pyenv version
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n  eval "$(pyenv init -)"\nfi' >> ~/.zshrc