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

Hydro on Yosemite catkin python-em

asked 2014-12-16 17:00:57 -0600

chris_ gravatar image

updated 2014-12-16 17:01:26 -0600

Would anyone be able to suggest why I get this error and how I could debug it to try make Hydro from source? In that directory there is __init__py __init__.pyc locale tests. This is at step 2.1.3 here.

-- catkin 0.5.89
/usr/bin/python: can't find '__main__' module in '/Library/Python/2.7/site-packages/em'
CMake Error at cmake/safe_execute_process.cmake:11 (message):

  execute_process(/Users/kal04p/ros_catkin_ws/build_isolated/catkin/catkin_generated/env_cached.sh
  "/usr/bin/python" "/Library/Python/2.7/site-packages/em" "--raw-errors"
  "-F"
  "/Users/kal04p/ros_catkin_ws/build_isolated/catkin/catkin_generated/pkg.develspace.context.pc.py"
  "-o"
  "/Users/kal04p/ros_catkin_ws/devel_isolated/catkin/lib/pkgconfig/catkin.pc"
  "/Users/kal04p/ros_catkin_ws/src/catkin/cmake/em/pkg.pc.em") returned error
  code 1
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-16 17:57:37 -0600

chris_ gravatar image

updated 2014-12-16 17:58:01 -0600

I seemed to have got around this issue by copying the file em.py that was just lying around in /Library/Python/2.7/site-packages into the em folder, and renaming it to __main__.py

edit flag offensive delete link more

Comments

it would be nice if i had enough rep to accept my own answer

chris_ gravatar image chris_  ( 2014-12-16 18:05:03 -0600 )edit

Looks like you've made it now with those two question.

tfoote gravatar image tfoote  ( 2015-02-26 13:10:50 -0600 )edit

not quite, it failed at about package 170/200 after a lot of painstaking modification of files in packages that were attempting to be installed. I imagine packages will be fixed up eventually to work, fingers crossed.

chris_ gravatar image chris_  ( 2015-02-27 01:32:14 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-12-16 17:00:57 -0600

Seen: 210 times

Last updated: Dec 16 '14