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

Isao Isaac Saito 130s at 2000.jukuin.keio.ac.jp
Wed Jun 16 02:21:27 UTC 2010


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



More information about the ros-users mailing list