bash Error: No such file or directory

asked 2020-01-28 03:07:16 -0500

Aiswarya gravatar image

I want to install ROS Kinetic on Ubuntu 16.04. While I ran this instruction

"source ~/.bashrc"

, I got this error:

'bash: /home/aiswarya/catkin_ws/devel/setup.bashsource: No such file or directory'

Please help, I am a beginner to ROS. Thanks.

edit retag flag offensive close merge delete

Comments

Please provide the link to the tutorial you followed and a description of what you are trying to accomplish.

The error seems pretty explicit: the file you are trying to source doesn't exist Most likely you are trying to source a workspace that hasn't been built yet.

marguedas gravatar image marguedas  ( 2020-01-28 03:48:58 -0500 )edit

I wanted to create a workspace and create a package in ROS. I followed the tutorial https://www.youtube.com/watch?v=l5RDBuIM3U8&feature=youtu.be (2:22 -2:30)

Aiswarya gravatar image Aiswarya  ( 2020-01-28 06:06:46 -0500 )edit
2

As @marguedas said the error explicitly tells you that the file setup.bashsource doesn't exist, which is normal since the file should be setup.bash. I would guess that when executing the previous command of your tutorial echo source ~/catkin_ws/devel/setup.bash >> ~/.bashrc you might have wrongly typed something and appended source at the end of the file name. Check your .bashrc file to correct this typo.

Delb gravatar image Delb  ( 2020-01-28 06:23:48 -0500 )edit