Re: [ros-users] No module named PyKDL???

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] No module named PyKDL???
Did you remember to:

import roslib
roslib.load_manifest(YOUR_PACKAGE_NAME)

This will crawl your package's manifest, examine dependencies, and add the
appropriate directories to your python path.

-R

On Wed, Oct 20, 2010 at 11:41 AM, Huang, Wesley <> wrote:

>
> i'm a little confused about KDL and python. i have a C++ node that is
> using KDL just fine, so i know it's installed. however, i can't seem to get
> it imported into a python node. i should mention that i'm running boxturtle
> (installed just prior to the ROS tutorial at ICRA 2010).
>
> in my manifest.xml, i have:
>
>     <depend package="kdl"/>

>
> (i've tried PyKDL, KDL, etc., but they cause errors during rosmake)
>
> in my python code, i have:
>
>     import PyKDL

>
> following one of the KDL tutorial wiki pages.
>
> when i try to rosrun the node, i get "ImportError: No module named PyKDL"
> (and kdl, KDL, pykdl, etc. don't work either)
>
> is there something wrong with my installation? do i need to install python
> bindings to KDL separately?
>
> thanks,
>
> wes
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>