Closed CanCanZeng closed 2 years ago
It looks like it is a to old of version of catkin_pkg
maybe? See this issue: https://github.com/ros-infrastructure/catkin_pkg/issues/303#issuecomment-768464197
Can you look at that thread and report your catkin version?
pip list | grep catkin
The docker 16.04 build which runs on xenial is fine, so maybe try updating your packages? https://github.com/rpng/open_vins/runs/5651935634?check_suite_focus=true
the output of pip list | grep catkin
is
catkin 0.7.20
catkin-pkg 0.4.22
catkin-pkg-modules 0.4.22
catkin-tools 0.6.1
after I upgrade pip and reinstall catkin_pkg, the output of pip list | grep catkin
becomes
catkin 0.7.20
catkin-pkg 0.4.24
but the redundant dependency problem still exists.
Can you also run
apt-cache policy python-catkin-pkg
dpkg -L python-catkin-pkg
Can you look around and make sure this version is above 4.23
https://github.com/ros-infrastructure/catkin_pkg/issues/303#issuecomment-768464197
apt-cache policy python-catkin-pkg
python-catkin-pkg:
Installed: 0.4.22-100
Candidate: 0.4.22-100
Version table:
*** 0.4.22-100 100
100 /var/lib/dpkg/status
0.2.10-2 500
500 http://mirrors.huaweicloud.com/repository/ubuntu xenial/universe amd64 Packages
500 http://mirrors.huaweicloud.com/repository/ubuntu xenial/universe i386 Packages
dpkg -L python-catkin-pkg
/.
/usr
/usr/bin
/usr/bin/catkin_create_pkg
/usr/bin/catkin_find_pkg
/usr/bin/catkin_generate_changelog
/usr/bin/catkin_package_version
/usr/bin/catkin_prepare_release
/usr/bin/catkin_tag_changelog
/usr/bin/catkin_test_changelog
/usr/lib
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.22.egg-info
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.22.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.22.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.22.egg-info/entry_points.txt
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.22.egg-info/requires.txt
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.22.egg-info/top_level.txt
/usr/share
/usr/share/doc
/usr/share/doc/python-catkin-pkg
/usr/share/doc/python-catkin-pkg/changelog.Debian.gz
/usr/share/doc/python-catkin-pkg/copyright
I find that if I install catkin_pkg by sudo python -m pip install catkin_pkg
, the latest version 0.4.24 is installed under /usr/local/
but my python executable is under /usr/bin/
, if I run sudo apt install python-catkin-pkg --upgrade
, the package is installed under /usr/lib
and the version is 0.4.22
Finally I find that if I add export PYTHONPATH=/usr/local/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages:$PYTHONPATH
, the error is gone!
Hi, when I build the latest code 5cf101423d4f5b26ef2ac6ff03eeefd59401f661 on my desktop with ubuntu16.04 ROS1 environment, there comes some error:
After comment out many dependencies my compilation success finally, and OV runs well. I don't know why this should come. I have tested on two ubuntu16.04 desktops, they have the same problem.