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

Your Answer

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

Add Answer

Question Tools

Stats

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

Seen: 267 times

Last updated: Jun 17 '11