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

Can't build python_orocos_kdl on OSX

asked 2013-02-04 05:46:49 -0600

madmax gravatar image

Does anyone know how to fix this?
Have this problem while compiling all the packages on OSX:

ros_ws/orocos_kinematics_dynamics/python_orocos_kdl/cmake/", line 8, in <module>
  import sipconfig
ImportError: No module named sipconfig
CMake Error at cmake/FindSIP.cmake:54 (MESSAGE):
Could not find SIP
Call Stack (most recent call first):
CMakeLists.txt:27 (find_package)
-- Configuring incomplete, errors occurred!
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-02-04 07:41:22 -0600

WilliamWoodall gravatar image

Sip is not on your PYTHONPATH most likely.

See the Caveat for sip:

$ brew info sip
sip: stable 4.13.3, HEAD
/usr/local/Cellar/sip/4.13.3 (9 files, 600K) *
==> Caveats
For non-homebrew Python, you need to amend your PYTHONPATH like so:
  export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH

This Caveat is where this step of the Homebrew install instructions come from:

edit flag offensive delete link more

answered 2020-04-02 09:49:21 -0600

pfj gravatar image

This should solve it

ln -s /usr/local/Cellar/sip/4.19.21/lib/python3.7/site-packages/ /usr/local/lib/python2.7/site-packages/

edit flag offensive delete link more


This worked for me.

jell gravatar image jell  ( 2020-10-18 22:37:47 -0600 )edit

Question Tools


Asked: 2013-02-04 05:46:49 -0600

Seen: 2,925 times

Last updated: Feb 04 '13