If you installed both python version 2.x and 3.x on system, you could add the following line to your ~/.bashrc or ~/.zshrc to make python 3.x the default python.
alias python='python3'
If you want to make pip-3.x and virtualenv-3.x your default ones, you may also add the following lines.
alias pip='pip-3.3'
alias virtualenv='virtualenv-3.3'
No comments:
Post a Comment