environment setup failure
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!
Asked by shmpwk on 2019-01-31 02:03:00 UTC
Answers
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.
Asked by ahendrix on 2019-01-31 02:11:31 UTC
Comments
Thank you for your reply, but there are no such lines you mentioned in my .bashrc
Asked by shmpwk on 2019-01-31 02:36:07 UTC
Comments