Re: [ros-users] Pyyaml using easy_install on Mac OS X

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: User discussions
題目: Re: [ros-users] Pyyaml using easy_install on Mac OS X
On Sun, Mar 13, 2011 at 10:07 PM, S.Sudarshan <> wrote:
> I did a very trivial hack to soft link /opt/local/bin/python (which itself
> is linked to /opt/local/bin/python2.6, which in turn is soft linked to
> /opt/local/Library/Fraemworks/Python.framework/Versions/2.6/bin/python2.6)
> to /usr/bin/python. So now "which python" gives me /opt/local/bin/python,
> but as I expected this didnt solve the problem with yaml.


Replacing /usr/bin/python (or anything in /usr) is a bad idea, since
Mac OS probably expects that to be a particular build of python. If
it's not, your system could have issues down the line. You should make
sure /opt/local/bin precedes /usr/bin in your path, and you should use
python_select (from Macports) to select the 2.6 version of python.
Also, you should be reinstalling yaml after doing all of this.

Paul