preload
Nov 12

因為用 Leopard 內建的 Python 在互動模式下中文有問題
所以來用 MacPorts 裝 Python 2.6,裝好之後出現
To fully complete your installation and make python 2.6 the default, please run

sudo port install python_select
sudo python_select python26

python_select:Switch the default python interpreter


指令照打沒效=.=

還是自己作連結比較保險

cd /usr/bin/
sudo ln -s /opt/local/bin/python python

溫故知新

載入中…

相關文章:

Tagged with:

2 Responses to “[MacPorts][Python] python_select:選擇 Python 版本+手動指定”

  1. Tim Wu Says:

    裝了 python_select後, 打 python_select 卻沒反應,
    後來看說明才知道, python_select 已經被port select統一了, 所以指令要改下

    sudo port select python python26

    Lauct Reply:

    感謝 Tim Wu 的補充!

Leave a Reply