rosinstall uses:<br><pre>#!/usr/bin/env python<br><br></pre>If you encounter scripts using /usr/bin/python, please file a bug report.<br><br> - Ken<br><br><div class="gmail_quote">On Tue, Jun 15, 2010 at 7:52 PM, Eric Perko <span dir="ltr"><<a href="mailto:wisesage5001@gmail.com">wisesage5001@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You should also check this with `/usr/bin/python` as well as `python`.<br>
I saw a problem on Mac OS X a while back that was similar due to some<br>
of the ROS scripts using `/usr/bin/python` and not `/usr/bin/env<br>
python`, which caused then to use the wrong version of python. This<br>
gave me a similar type of error - yaml was installed, I could load it<br>
up using the python interpreter, but none of ROS could find it.<br>
<br>
Hope that helps.<br>
<font color="#888888"><br>
- Eric<br>
</font><div><div></div><div class="h5"><br>
On Tue, Jun 15, 2010 at 10:47 PM, Ken Conley <<a href="mailto:kwc@willowgarage.com">kwc@willowgarage.com</a>> wrote:<br>
> Alright, it does look like you have a PyYAML install there, question is why<br>
> it's not being found.<br>
><br>
> One more thing to try :<br>
><br>
> python --version<br>
> python -c "import yaml; print yaml"<br>
><br>
>  - Ken<br>
><br>
> On Tue, Jun 15, 2010 at 7:37 PM, Isao Isaac Saito<br>
> <<a href="mailto:130s@2000.jukuin.keio.ac.jp">130s@2000.jukuin.keio.ac.jp</a>> wrote:<br>
>><br>
>> Ken,<br>
>><br>
>> thanks. Here is the result after I tried to run installation for PyYAML.<br>
>><br>
>> <quote><br>
>> [robot@localhost ~]$ sudo yum install wget cmake PyYAML<br>
>> [sudo] password for robot:<br>
>> Setting up Install Process<br>
>> Package wget-1.12-2.fc11.i586 already installed and latest version<br>
>> Package cmake-2.6.4-3.fc11.i586 already installed and latest version<br>
>> Package PyYAML-3.08-4.fc11.i586 already installed and latest version<br>
>> Nothing to do<br>
>> </quote><br>
>><br>
>> Btw, python is ver 2.6.2.<br>
>><br>
>> Isaac<br>
>> Heracleia lab at UT-Arlington<br>
>><br>
>><br>
>> On Tue, Jun 15, 2010 at 9:23 PM, Ken Conley <<a href="mailto:kwc@willowgarage.com">kwc@willowgarage.com</a>> wrote:<br>
>> > Isaac,<br>
>> ><br>
>> > It appears PyYAML did not install correctly. What happens when you run:<br>
>> ><br>
>> > sudo yum install wget cmake PyYAML<br>
>> ><br>
>> > (I'm not a Fedora expert, but that's the line in the install page)<br>
>> ><br>
>> >  - Ken<br>
>> ><br>
>> > On Tue, Jun 15, 2010 at 7:21 PM, Isao Isaac Saito<br>
>> > <<a href="mailto:130s@2000.jukuin.keio.ac.jp">130s@2000.jukuin.keio.ac.jp</a>> wrote:<br>
>> >><br>
>> >> Hi all,<br>
>> >><br>
>> >> I am stuck at and getting error message below. I'm assuming this is<br>
>> >> resulting in pythonpath setting but I'm not sure since I'm new to it<br>
>> >> yet. I appreciate if anyone gives me an idea.<br>
>> >><br>
>> >> - Phenomenon<br>
>> >> <quote><br>
>> >> % ~/rosinstall ~/ros<br>
>> >> <a href="http://ros.org/rosinstalls/boxturtle_base.rosinstall" target="_blank">http://ros.org/rosinstalls/boxturtle_base.rosinstall</a><br>
>> >> Traceback (most recent call last):<br>
>> >>  File "/home/robot/rosinstall", line 25, in <module><br>
>> >>    import yaml # 10Jun15/Isao; rosnstall still stuck here<br>
>> >> ImportError: No module named yaml<br>
>> >> </quote><br>
>> >><br>
>> >> - Environement<br>
>> >> Redhat Linux version 2.6.29.4<br>
>> >> gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)<br>
>> >> Type of ROS: I'm referring to "Fedora 11 Installation Instructions"<br>
>> >> (<a href="http://www.ros.org/wiki/ROS/Installation/Fedora" target="_blank">http://www.ros.org/wiki/ROS/Installation/Fedora</a>)<br>
>> >> # Using Redhat 2.6 is required the robot<br>
>> >><br>
>> >> - Workaround tried (all of these didn't have effect)<br>
>> >> W-1. Copy /usr/lib/python2.6/site-packages/yaml/cyaml.py* to<br>
>> >> %HOME_PYTHON%/ . Modify rosinstall to "import cyaml"<br>
>> >> W-2. Copy /usr/share/doc/PyYAML-3.08/examples/pygments-lexer/yaml.py<br>
>> >> to %HOME_PYTHON%/<br>
>> >><br>
>> >> - Result of "locate yaml"<br>
>> >> <a href="https://docs.google.com/View?id=dfcq779r_271f5bt6gff" target="_blank">https://docs.google.com/View?id=dfcq779r_271f5bt6gff</a><br>
>> >><br>
>> >> Best regards,<br>
>> >> Isaac<br>
>> >> _______________________________________________<br>
>> >> ros-users mailing list<br>
>> >> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
>> >> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > ros-users mailing list<br>
>> > <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
>> > <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>> ><br>
>> ><br>
>> _______________________________________________<br>
>> ros-users mailing list<br>
>> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br>