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

Rob Wheeler wheeler at willowgarage.com
Wed Oct 20 19:46:25 UTC 2010


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 <whuang at irobot.com> 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
> 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/20101020/66c2f948/attachment-0003.html>


More information about the ros-users mailing list