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

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/FindSIP.py", 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
5

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
http://www.riverbankcomputing.co.uk/software/sip
/usr/local/Cellar/sip/4.13.3 (9 files, 600K) *
https://github.com/mxcl/homebrew/commits/master/Library/Formula/sip.rb
==> 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:

http://ros.org/wiki/groovy/Installation/OSX/Homebrew/Source#Setup_Environment

edit flag offensive delete link more
1

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/sipconfig.py /usr/local/lib/python2.7/site-packages/sipconfig.py

edit flag offensive delete link more

Comments

This worked for me.

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

Question Tools

Stats

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

Seen: 3,017 times

Last updated: Feb 04 '13