Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker hub image is broken #50

Open
LiyouZhou opened this issue Nov 26, 2019 · 5 comments
Open

Docker hub image is broken #50

LiyouZhou opened this issue Nov 26, 2019 · 5 comments

Comments

@LiyouZhou
Copy link
Collaborator

Just followed instruction in README and got the following error:

docker run -v `pwd`:/data -it tomas789/kitti2bag -t 2011_09_26 -r 0002 raw_synced 
Traceback (most recent call last):
  File "/usr/local/bin/kitti2bag", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 834, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (numpy 1.11.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('numpy>=1.12.0'), set(['pandas']))

I don't understand the cause of the error exactly but pandas dropped support for python2 in version 0.24 (so much for semver), and pykitti specifies pandas as a dependency without a version (so much for semver. Semver is dead, long live semver.)

@LiyouZhou
Copy link
Collaborator Author

#51 works around the aforementioned pandas issue.

@tigerschweiger
Copy link

hi is there any solutions for this problem?

@MABIY
Copy link

MABIY commented Nov 4, 2021

why not fix ?

@spencercjh
Copy link

same issue.

@valgur
Copy link
Collaborator

valgur commented May 18, 2022

While not exactly a solution for the broken docker image, but you can really make do without docker (or at least can create a much simpler image without a full ROS stack) anyway.

unset PYTHONPATH # in case you already have ROS installed and sourced
pip install . opencv-python rosbag roslz4 cv_bridge tf tf2_ros --extra-index-url https://rospypi.github.io/simple/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants