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

Cant run roslaunch on my macbook [closed]

asked 2015-07-15 11:19:16 -0600

Will Phoenix gravatar image

I am trying to run revise for my rplidar but cannot get roslaunch to work. When i run roslaunch i get this error message.

Williams-MacBook-Pro:~ williamphoenix$ roslaunch Traceback (most recent call last): File "/opt/local/bin/roslaunch", line 34, in <module> import roslaunch ImportError: No module named roslaunch

I have done some research and it looks like my python path is wrong but don't know if that is the full effects of this error.

my python path

:/opt/ros/hydro/lib/python2.7

edit retag flag offensive reopen merge delete

Closed for the following reason Question does not follow our guidelines for questions. Please see: http://wiki.ros.org/Support for more details. by tfoote
close date 2018-01-11 20:17:15.435732

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-07-15 11:42:51 -0600

William gravatar image

You need to source the setup.bash file first. It looks like you're setup file would be at /opt/ros/hydro/setup.bash.

edit flag offensive delete link more

Comments

i am new to this and is there anyway i can find somewhere that can show me step by step on how to set that up

Will Phoenix gravatar image Will Phoenix  ( 2015-07-15 12:00:53 -0600 )edit

You just run source /opt/ros/hydro/setup.bash. If you're having trouble I'd recommend setting up a Ubuntu VM and doing the ROS tutorials as well as reading the conceptual overview on the wiki.

William gravatar image William  ( 2015-07-15 13:15:04 -0600 )edit

When i do that it just tells me that there is no file or directory

Will Phoenix gravatar image Will Phoenix  ( 2015-07-16 08:16:51 -0600 )edit

Well in that case I don't know, I'd have to know more about how you installed ROS on your machine.

William gravatar image William  ( 2015-07-16 18:55:26 -0600 )edit

Please explain how you installed ROS incluidng what instructions you followed and if there were any errors. Possibly run through the installation again and show the output. You can edit your question to add more details.

tfoote gravatar image tfoote  ( 2015-07-19 07:52:54 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-15 11:19:16 -0600

Seen: 407 times

Last updated: Jul 15 '15