Closed archenroot closed 7 years ago
Additionally I checked following site:
which refers to file rospack, so I checked the availability of this file on my system and found following:
zangetsu@ares ~/proj/neural-networks/ORB_SLAM2 $ locate rosdep2/rospack.py
/usr/lib64/python2.7/site-packages/rosdep2/rospack.py
/usr/lib64/python2.7/site-packages/rosdep2/rospack.pyc
/usr/lib64/python2.7/site-packages/rosdep2/rospack.pyo
/usr/lib64/python3.4/site-packages/rosdep2/rospack.py
zangetsu@ares ~/proj/neural-networks/ORB_SLAM2 $ diff /usr/lib64/python2.7/site-packages/rosdep2/rospack.py /usr/lib64/python3.4/site-packages/rosdep2/rospack.py
zangetsu@ares ~/proj/neural-networks/ORB_SLAM2 $
When I use:
zangetsu@ares ~/proj/neural-networks/ORB_SLAM2 $ pip list|grep rosdep
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
rosdep (0.11.5)
So strange, isn't it some error in the ORB_SLAM file?
This was some issue with the ROS installation as we work now on Gentoo ros-overlay...-> quite experimental
I recently had the same problem and spent a while trying to chase down the cause. For posterity, in my case it was caused by the use of Anaconda, and I was able to comment out the following line in my .bashrc (that added Anaconda to my path) to save the day:
# added by Anaconda2 installer
export PATH=PATH_TO_ANACONDA/bin:$PATH
where PATH_TO_ANACONDA
is the the path to my Anaconda directory. If Anaconda is needed, I imagine swapping the order of the paths would probably do just as well.
I found it to be issue due to anaconda environment.
deactivating conda conda deactivate
fixed the issue.
pip install rosdep
to install rosdep into your anaconda env. instead of deactivating it
我的电脑里没有安装anaconda, 也遇到了同样的问题, 我找到了问题原因, 是由于电脑中同时存在多个版本的python, 所以需要将其他版本python删除掉, 重新运行make, 即可解决此问题 我是从这里得到的灵感https://github.com/raulmur/ORB_SLAM/issues/109
I am on Gentoo system using standard ROS within Portage system (not custom overlay, etc.). When trying to execute ./build_ros.sh I get folowing error:
I reemerged python2_7 multiple times and Gentoo is pulling in Kinetic distribution.
Here are also my config variables available:
I am using folowing version of rosdep:
I am new to ROS, but here I have working roscore:
Any idea?