Switch between python 2.7 and python 3.5 on Mac OS X
问题 I generally use Python 2.7 but recently installed Python 3.5 using Miniconda on Mac OS X. Different libraries have been installed for these two versions of python. Now, the entering either of the keywords 'python' or 'python3' in terminal invokes python 3.5, and 'python2' returns '-bash: python2: command not found'. How can I now invoke them specifically using aliases 'python2' and 'python3' respectively? I am currently using OS X El Capitan. 回答1: IMHO, the best way to use two different