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

Building ROS on Fedora 15

asked 2011-05-30 01:23:51 -0600

Skinkworks gravatar image

I am trying to build ROS on Fedora 15, and I get an error with rosmake:

Detected ros_comm bootstrapping it too.
  File "/home/user/ros/ros/bin/rosmake", line 46
    print "Rospack failed to build" 
                                  ^
SyntaxError: invalid syntax

When I looked into the issue, this is invalid syntax in 3.0 or higher, but I'm running 2.7. If I make my default python 3.2, then rosinstall doesn't even run:

Traceback (most recent call last):
  File "/usr/bin/rosinstall", line 4, in <module>
    import pkg_resources
ImportError: No module named pkg_resources

Is this a Fedora issue? Is this a python issue? How can I solve this?

edit retag flag offensive close merge delete

Comments

At least, I suspect it not to be a general fedora issue, I built ROS on Fedora 12 with python 2.6.2 and never saw that. But I really want to upgrade, and now as 15 is released, I hope there is a solution.
felix k gravatar image felix k  ( 2011-05-30 20:56:28 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-06-17 11:22:17 -0600

Straszheim gravatar image

This is a python 2.6 vs 2.7 issue I'm pretty sure. Patches to rosmake are trickling in.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-05-30 01:23:51 -0600

Seen: 375 times

Last updated: Jun 17 '11