[ros-users] Something about PR2 Opens a Door

Ken Conley kwc at willowgarage.com
Tue Aug 10 15:36:45 UTC 2010


Hi Bin,

The error is most likely because you have multiple versions of roslib
on your PYTHONPATH. Perhaps you are executing both the boxturtle and
cturtle setup scripts in your .bashrc. You can only have one. We will
try to improve the error message and setup in the future.

best,
Ken


On Tue, Aug 10, 2010 at 1:58 AM, Yu Bin <master.yubin at gmail.com> wrote:
> Dear all,
>
> IN order to finish the tutorials of PR2 open a door, I do it like this.
> http://www.ros.org/wiki/pr2_simulator/Tutorials/PR2OpenDoor
>
> But when I finished the setp of installation,and change the environment
> variable.
>
> Something goes wrong.
>
> yubin at yubin-laptop:~$ echo "source /opt/ros/cturtle/setup.sh" >> ~/.bashrc
> yubin at yubin-laptop:~$ . ~/.bashrc
> yubin at yubin-laptop:~$ roscd ros
> yubin at yubin-laptop:/opt/ros/cturtle/ros$ roscore
> Traceback (most recent call last):
>   File "/opt/ros/cturtle/ros/bin/roscore", line 34, in <module>
>     from ros import roslaunch
>   File "/opt/ros/boxturtle/ros/core/roslib/src/ros/__init__.py", line 63, in
> __getattr__
>     return __import__(name)
>   File "/opt/ros/cturtle/ros/tools/roslaunch/src/roslaunch/__init__.py",
> line 43, in <module>
>     from roslaunch.config import ROSLaunchConfig
>   File "/opt/ros/cturtle/ros/tools/roslaunch/src/roslaunch/config.py", line
> 49, in <module>
>     import roslaunch.loader
>   File "/opt/ros/cturtle/ros/tools/roslaunch/src/roslaunch/loader.py", line
> 45, in <module>
>     from roslib.names import make_global_ns, ns_join, PRIV_NAME,
> load_mappings, is_legal_name, canonicalize_name
> ImportError: cannot import name canonicalize_name
>
> Thanks a lot.
> Bin
>
>
> _______________________________________________
> 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