使用python_select进行Python多版本切换

Friday, January 29, 2010

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要灵活。

This entry was tagged Python

comments powered by Disqus

© 2009-2013 lxneng.com. All rights reserved. Powered by Pyramid

go to Top