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

environment setup failure

asked 2019-01-31 01:03:00 -0500

shmpwk gravatar image

updated 2019-01-31 02:43:21 -0500

gvdhoorn gravatar image

According to ros wiki, to set up environment, I typed echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc source ~/.bashrc

The error is /opt/ros/kinetic/setup.bash:.:8: no such file or directory: /home/pikashun/setup.sh


My .bashrc is like this, so there are no lines mentioned by error.

1# .bashrc

2export PS1='%[%e[1;32m%]%u@%h:%w${text}$%[%e[m%]'

3

4export PATH=$PATH:/sbin:/usr/sbin

5export PAGER='/usr/bin/lv -c'

6export EDITOR='/usr/bin/vim'

7export HISTSIZE=100000

8export LANG='ja_JP.UTF-8'

9export LC_ALL='ja_JP.UTF-8'

10export LC_MESSAGES='ja_JP.U

11

12source /opt/ros/kinetic/setup.bash


I use ubuntu on WSL. How can I improved?

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-31 01:11:31 -0500

ahendrix gravatar image

It looks like your .bashrc has . ~/setup.sh or . /home/pikashun/setup.sh on line 8, but there is no file /home/pikashun/setup.sh , so you should remove that line from your bashrc.

edit flag offensive delete link more

Comments

Thank you for your reply, but there are no such lines you mentioned in my .bashrc

shmpwk gravatar image shmpwk  ( 2019-01-31 01:36:07 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-01-31 01:03:00 -0500

Seen: 158 times

Last updated: Jan 31 '19