Ask Your Question

Can't build python_orocos_kdl on OSX

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

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 -0500

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 -0500

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 2,529 times

Last updated: Feb 04 '13