python_select: Switch the default python interpreter
比如安装了2.5, 2.6, 3.1版本,要把2.6设置为默认版本,可以用python_select进行切换
ps:这样做比自己手动ln要灵活。
比如安装了2.5, 2.6, 3.1版本,要把2.6设置为默认版本,可以用python_select进行切换
sudo port install python_select
sudo python_select python26
ps:这样做比自己手动ln要灵活。