[ros-users] RViz on OS X

William Woodall wjwwood at gmail.com
Tue Jun 21 21:47:55 UTC 2011


You might need to specify your python version:

sudo port install python_select


sudo port select --set python python26


Additionally, you want to make sure you're using the macports python...

export
PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin:$PATH
sudo easy_install pip
sudo pip install rosinstall
rosinstall ....


That export PATH... command will ensure that you are using binaries
installed for the macports python.  You can either set it once in the
command line to install/run rosinstall or you can put it in your .bashrc,
but either way you should be aware that it effecting what python executables
are being used.

Hope that helps,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
William Woodall
Graduate Software Engineering
Auburn University
w at auburn.edu
wjwwood at gmail.com
williamjwoodall.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



On Tue, Jun 21, 2011 at 9:01 AM, Serge Stinckwich <
serge.stinckwich at gmail.com> wrote:

> I try to do run rosinstall on my mac book pro:
>
> delirium-tremens:~ serge$ rosinstall ~/ros/ "
> http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no
> "
>
> Traceback (most recent call last):
>   File "/usr/local/bin/rosinstall", line 5, in <module>
>     pkg_resources.run_script('rosinstall==0.5.16', 'rosinstall')
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py",
> line 442, in run_script
>     self.require(requires)[0].run_script(script_name, ns)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py",
> line 1167, in run_script
>     exec script_code in namespace, namespace
>   File
> "/Library/Python/2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall",
> line 23, in <module>
>
> ImportError: No module named yaml
>
> =========================================
>
> I guess because rosintall do not use the right Python path.
> How did you install rosinstall ?
>
> Regards,
>
> On Sun, Jun 19, 2011 at 6:00 AM, William Woodall <wjwwood at gmail.com>wrote:
>
>> My friends, John and Michael, and I have compiled a guide/troubleshooting
>> list for getting RViz (and other tools) working on OS X with the latest
>> diamondback from SVN.  I don't think there is any new information here, but
>> rather a survey of the common problems encountered.  The main idea is making
>> ROS build as 32-bit only and using +universal macports everywhere, this
>> comes from Dave's comment on this ticket:
>> https://code.ros.org/trac/ros-pkg/ticket/4788#comment:8
>>
>> [image: RViz-on-OSX.png]
>>
>> Additionally there are other patches and tricks listed in the
>> troubleshooting sections, all of which are ticketed and/or fixed in later
>> SVN revisions, so hopefully this guide won't even be necessary in the near
>> future, but for now I hope will help some people.
>>
>> https://github.com/wjwwood/au-automow/wiki/Ros-osx-i386
>>
>> If this seems useful enough to put on the ros.org wiki, I would be glad
>> to move it if someone would just point to the place.
>>
>> Thanks,
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> William Woodall
>> Graduate Software Engineering
>> Auburn University
>> w at auburn.edu
>> wjwwood at gmail.com
>> williamjwoodall.com
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
>
> --
> Serge Stinckwich
> UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
> Every DSL ends up being Smalltalk
> http://doesnotunderstand.org/
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110621/2ec8778b/attachment-0003.html>


More information about the ros-users mailing list