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

Indigo Installation, Environment setup

asked 2015-04-09 06:01:30 -0600

Haz88 gravatar image

BH

**Hello, I have tried ,a couple of times, to install the indigo desktop full package library but when I reached to the Environment setup section and typed the source ~/.bashrc command, the response was that there is no setup.bash file. I searched the installation directories and saw that indeed no such file exists. It seems as if the installation completed without any failure, as I haven't got any errors and the packages installed altogether weigh 135MB.

Could someone suggest what to do? **

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-04-12 16:33:41 -0600

georg l gravatar image

The file /opt/ros/indigo/setup.bash is part of the package ros-indigo-catkin, make sure it is installed. That package is one of the most basic ones in ros, so I suppose something went wrong during installation and I advice you to purge ros (like mentioned in the answer before) and re-install ros.

edit flag offensive delete link more
0

answered 2015-04-09 10:41:05 -0600

felixwatzlawik gravatar image

Uninstall ROS

sudo apt-get remove ros-*

sudo apt-get purge ros-*

sudo apt-get autoremove

and then try to install it new. Maybe you made a Mistake in tutorial, just do it step by step again :)

edit flag offensive delete link more

Comments

1

BH

hello felixwatzlawik,

I used the purge command and at last the ros indigo library was fully installed thanks to your help.

You made my day!

Haz88

Haz88 gravatar image Haz88  ( 2015-04-17 09:35:50 -0600 )edit

glad to hear that mate, stay active and try to help other users :) togethere we can all get our systems work!

felixwatzlawik gravatar image felixwatzlawik  ( 2015-04-21 03:51:48 -0600 )edit
0

answered 2015-04-11 16:49:04 -0600

Haz88 gravatar image

I tried using the purge command to install the library, but to my sorrow, no bash file was created. I didn't mention before, but when I typed the sudo rosdep init, I got this message:

Traceback (most recent call last): File "/usr/local/bin/rosdep", line 4, in <module> import pkg_resources File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module> working_set = WorkingSet._build_master() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in _build_master ws.require(__requires__) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: rosdep==0.11.2

And for the rosdep update command, I got:Traceback (most recent call last):

File "/usr/local/bin/rosdep", line 4, in <module> import pkg_resources File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module> working_set = WorkingSet._build_master() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in _build_master ws.require(__requires__) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: rosdep==0.11.2

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-04-09 06:01:30 -0600

Seen: 312 times

Last updated: Apr 12 '15