gbiggs / rtshell

Shell commands for managing RT-Middleware running on OpenRTM-aist.
http://openrtm.org
GNU Lesser General Public License v3.0
10 stars 17 forks source link

shell_support does not work in OSX #20

Closed ysuga closed 10 years ago

ysuga commented 10 years ago

Hello,

My OSX10.9.3 with Xcode5.1 does not recognize python2 command. Are there special purpose to use 'python2' command?

gbiggs commented 10 years ago

Yes; rtshell currently only supports Python 2. On systems where Python 3 is the default (e.g. Gentoo and recent Ubuntu releases), Python 2 needs to be specified explicitly. All Linux distributions provide a symlink from /usr/bin/python2 to /usr/bin/python2.x (where x is the latest minor version available). Unfortunately, Apple does not do this on OS X. I'm working on Python 3 compatibility for rtshell and the related libraries, and when that is done I can change the call to just "python." Until then, you can get around the problem by creating a symlink somewhere in your path from "python2" to "python27".

gbiggs commented 10 years ago

Thanks for the patch. Problem solved.