[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:37:08 UTC 2010
Ken,
thanks. Here is the result after I tried to run installation for PyYAML.
<quote>
[robot at localhost ~]$ sudo yum install wget cmake PyYAML
[sudo] password for robot:
Setting up Install Process
Package wget-1.12-2.fc11.i586 already installed and latest version
Package cmake-2.6.4-3.fc11.i586 already installed and latest version
Package PyYAML-3.08-4.fc11.i586 already installed and latest version
Nothing to do
</quote>
Btw, python is ver 2.6.2.
Isaac
Heracleia lab at UT-Arlington
On Tue, Jun 15, 2010 at 9:23 PM, Ken Conley <kwc at willowgarage.com> wrote:
> Isaac,
>
> It appears PyYAML did not install correctly. What happens when you run:
>
> sudo yum install wget cmake PyYAML
>
> (I'm not a Fedora expert, but that's the line in the install page)
>
> - Ken
>
> On Tue, Jun 15, 2010 at 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
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
More information about the ros-users
mailing list