use python3 as default mac
ln -s -f /usr/local/bin/python3.7 /usr/local/bin/python
use python3 as default mac
ln -s -f /usr/local/bin/python3.7 /usr/local/bin/python
which python mac
$ brew update && brew upgrade python
set python3 as default mac
# it is said not to do but I used it anyway, because of the conveniency
$ echo "alias python=/usr/local/bin/python3.7" >> ~/.zshrc
macos set default python version
$ pyenv global 3.7.3
# and verify it worked
$ pyenv version
3.7.3 (set by /Users/mbbroberg/.pyenv/version)
use python as python3 zsh
# Go into your .zshrc file. Is there a line that reads:
alias python='python3'
set python 3 as default mac
[ -e ~/.profile ] && . ~/.profile
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us