Macportのpython_selectが使えなくなった...
どういうわけか,その存在を知ってwktkしてpython_selectを
sudo port install python_select
したけど,いざ使おうとすると
sudo python_select -l
sudo: python_select: command not found
おいおい...使えないじゃん(ーー;
こういう時は先人の知恵を使っちまえばいいや♪ということで
ググってみると
http://d.hatena.ne.jp/inouetakuya/20110728/1311852834
見つかりました.
どうやら以下のような使い方をするようです.
- 使えるpythonのバージョンを確認する
port select --list python Available versions for python: none python25-apple python26-apple python27 (active) python27-apple
- 使用するpythonの切り替え
sudo port select --set python python27
これで Matlibplot のインストールに踏み切れる...のか?
(macのnative python2.7じゃインストールできないみたい)