[ros-users] Installation stuck on Redhat 2.6 (ImportError: No module named yaml)

Brian Gerkey gerkey at willowgarage.com
Wed Jun 16 02:42:26 UTC 2010


Are there any other errors or warnings preceding the failure to import?

    brian.

On Jun 15, 2010 7:21 PM, "Isao Isaac Saito" <130s at 2000.jukuin.keio.ac.jp>
wrote:

Hi all,

I am stuck at and getting error message below. I'm assuming this is
resulting in pythonpath setting but I'm not sure since I'm new to it
yet. I appreciate if anyone gives me an idea.

- Phenomenon
<quote>
% ~/rosinstall ~/ros http://ros.org/rosinstalls/boxturtle_base.rosinstall
Traceback (most recent call last):
 File "/home/robot/rosinstall", line 25, in <module>
   import yaml # 10Jun15/Isao; rosnstall still stuck here
ImportError: No module named yaml
</quote>

- Environement
Redhat Linux version 2.6.29.4
gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)
Type of ROS: I'm referring to "Fedora 11 Installation Instructions"
(http://www.ros.org/wiki/ROS/Installation/Fedora)
# Using Redhat 2.6 is required the robot

- Workaround tried (all of these didn't have effect)
W-1. Copy /usr/lib/python2.6/site-packages/yaml/cyaml.py* to
%HOME_PYTHON%/ . Modify rosinstall to "import cyaml"
W-2. Copy /usr/share/doc/PyYAML-3.08/examples/pygments-lexer/yaml.py
to %HOME_PYTHON%/

- Result of "locate yaml"
https://docs.google.com/View?id=dfcq779r_271f5bt6gff

Best regards,
Isaac
_______________________________________________
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/20100615/f384f698/attachment-0003.html>


More information about the ros-users mailing list