如何从OSX Leopard卸载python,以便可以使用MacPorts版本? [英] How do I uninstall python from OSX Leopard so that I can use the MacPorts version?
本文介绍了如何从OSX Leopard卸载python,以便可以使用MacPorts版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用python的macports版本,而不是Leopard随附的版本.
I want to use the macports version of python instead of the one that comes with Leopard.
推荐答案
我都已安装:
$ which python
/usr/bin/python
$ which python2.5
/opt/local/bin/python2.5
我还在我的.profile
中添加了以下行:
I also added the following line to my .profile
:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
这篇关于如何从OSX Leopard卸载python,以便可以使用MacPorts版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文