MacOS
Install Python in MacOS systems
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"brew update
brew install pyenvpyenv install --listpyenv install 3.8.5$ pyenv global 3.8.5
# and verify it worked
$ pyenv version$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profilepython -VLast updated
Was this helpful?