ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

python_orocos_kdl does not compile on Ubuntu 19.04 from source

asked 2019-10-01 14:16:14 -0600

RayROS gravatar image

updated 2022-01-22 16:10:05 -0600

Evgeny gravatar image

Hello, I am trying to compile from source ROS Melodic. I am following the instructions on the following official source. I created my own ros_catkin_ws and installing by hand all the necessary packages using $ catkin_make_isolated.

Although long, the installation process was going well until I stopped at the installation of the package python_orocos_kdl for which no matter what I do I am receiving the following error:

=> cmake /home/emanuele/ros_catkin_ws/src/orocos_kinematics_dynamics/python_orocos_kdl -DCMAKE_INSTALL_PREFIX=/home/emanuele/ros_catkin_ws/devel_isolated/python_orocos_kdl
-G Unix Makefiles in '/home/emanuele/ros_catkin_ws/build_isolated/python_orocos_kdl/devel' Traceback (most recent call last):   File "/home/emanuele/ros_catkin_ws/src/orocos_kinematics_dynamics/python_orocos_kdl/cmake/", line 8, in <module>
    import sipconfig ImportError: No module named sipconfig CMake Error at cmake/FindSIP.cmake:63 (MESSAGE):   Could not find SIP Call Stack (most recent call first):   CMakeLists.txt:14 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/emanuele/ros_catkin_ws/build_isolated/python_orocos_kdl/devel/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'python_orocos_kdl': 
  Command '['/home/emanuele/ros_catkin_ws/devel_isolated/perception_pcl/', 'cmake', '/home/emanuele/ros_catkin_ws/src/orocos_kinematics_dynamics/python_orocos_kdl', '-DCMAKE_INSTALL_PREFIX=/home/emanuele/ros_catkin_ws/devel_isolated/python_orocos_kdl', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/emanuele/ros_catkin_ws/build_isolated/python_orocos_kdl && /home/emanuele/ros_catkin_ws/devel_isolated/perception_pcl/ cmake /home/emanuele/ros_catkin_ws/src/orocos_kinematics_dynamics/python_orocos_kdl -DCMAKE_INSTALL_PREFIX=/home/emanuele/ros_catkin_ws/devel_isolated/python_orocos_kdl -G 'Unix Makefiles'

I have been researching a lot how to solve this problem and it seems that someone already had to solve it. In fact I came across the following post and installed brew and edited my gedit .bashrc file as advised here as you can see in the following image


Unfortunately it still does not work and can not able to continue my catkin_make_isolated. Please if anyone has an idea on how to correctly install and compile python_orocos_kdl point in the right direction.

edit retag flag offensive close merge delete


I am having the same issue when installing on macOS. Clearly the python package sipconfig is missing, but I am yet to find any resource that describes how this can be successfully installed.

deeyem gravatar image deeyem  ( 2020-03-05 09:45:04 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-06 03:06:08 -0600

deeyem gravatar image

sipconfig may be installed for a different version of Python.

Have a look at this post to see if the steps described there work.

edit flag offensive delete link more

Question Tools



Asked: 2019-10-01 14:16:14 -0600

Seen: 840 times

Last updated: Mar 06 '20