jxwjq 发表于 2017-4-21 10:47:02

使用python_select进行Python多版本切换

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