Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with first example: No module named sip #62

Open
ninafiona opened this issue Sep 9, 2020 · 2 comments
Open

Problem with first example: No module named sip #62

ninafiona opened this issue Sep 9, 2020 · 2 comments

Comments

@ninafiona
Copy link

ninafiona commented Sep 9, 2020

Ubuntu 18.04, ros melodic, Python 2.7

I tried the first example, but received an error (see below) when running the command rosrun ec_grasp_planner planner.py --rviz --robot_base_frame camera_rgb_optical_frame

Traceback (most recent call last):
  File ".../ec_grasp_planner/ec_grasp_planner/src/planner.py", line 61, in <module>
    import tf_conversions.posemath as pm
  File "/opt/ros/melodic/lib/python2.7/dist-packages/tf_conversions/__init__.py", line 30, in <module>
    from .posemath import *
  File "/opt/ros/melodic/lib/python2.7/dist-packages/tf_conversions/posemath.py", line 34, in <module>
    from PyKDL import *
ImportError: No module named sip

Update: It seems to be this problem: orocos/orocos_kinematics_dynamics#287
I removed all ros packages that are dependend on orocos_kinematics_dynamics and installed orocos_kinematics_dynamics from source and the import of PyKDL succeeded. With the ros packages installed (maybe with a different version of KDL) there is the error 'No module named sip' when importing PyKDL.

I also posted this issue here:

@zweistein
Copy link
Contributor

this happens on TAG ms4.5 but not on MS4b_Elod

@ninafiona
Copy link
Author

Update: I commented out the import of tf_conversions and rewrote the functions to work without KDL. Not tested yet due to an error with another package, but I guess it should work with this workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants