Re: [ros-users] rosinstall Cturtle installation error on Sno…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Nicholas Butko
Date:  
To: ros-users@code.ros.org
CC: ros-users@code.ros.org
Subject: Re: [ros-users] rosinstall Cturtle installation error on Snow leopard
I have always disliked the idea of multiple pythons competing with the system one.

A problem with MacPorts is that all python packages depend on MacPorts' python, ie they don't play nice with the system Python.

I have had good luck recently installing c-turtle on a new system using easy_install instead. This required running "easy_install PyYAML", and commenting out some of the macports lines in rosdep.yaml.

Just putting it out there as an alternative approach.

--Nick



On Aug 29, 2010, at 12:57 PM, Eric Perko <> wrote:

> Billy,
>
> If you run python from a terminal and type 'import yaml' does it work properly or do you get the same error?
>
> I've seen a similar error with multiple Python versions installed and whichever one rosinstall was using was not the one that yaml had been installed to.
>
> - Eric
>
> On Sun, Aug 29, 2010 at 3:47 PM, Pablo Hevia-Koch <> wrote:
> Chek this out, might help you:
>
> http://py-yaml.darwinports.com/
>
> :)
> Keep Creating,
>
> Pablo
>
>
>
>
> On 29 August 2010 15:45, Billy Okal <> wrote:
> Dear all,
>
> I am experiencing the following problem with Cturtle installation on Snow leopard. I have followed the standard osx guide on the wiki and installed py25-yaml correctly, but still I get this,
>
> rosinstall ~/ros http://ros.org/rosinstalls/cturtle_pr2all.rosinstall
> Traceback (most recent call last):
>   File "/usr/local/bin/rosinstall", line 5, in <module>
>     pkg_resources.run_script('rosinstall==0.5.6', '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.6-py2.6.egg/EGG-INFO/scripts/rosinstall", line 23, in <module>

>
> ImportError: No module named yaml
>
> Has anybody seen this, what what could be the remedy for it?
>
>
> Billy Okal.
> "sure vi is user friendly, its just particular about who to be friends with"
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users