mmdetection3d
mmdetection3d copied to clipboard
[Bug] Docker image build error
Prerequisite
- [X] I have searched Issues and Discussions but cannot get the expected help.
- [X] I have read the FAQ documentation but cannot get the expected help.
- [X] The bug has not been fixed in the latest version (dev-1.x) or latest version (dev-1.0).
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmdetection3d
Environment
ubuntu 22.04 docker client 24.0.5 docker server 24.0.5
Reproduces the problem - code sample
..
Reproduces the problem - command or script
docker build -t mmdetection3d docker/
Reproduces the problem - error message
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
yapf 0.40.2 requires importlib-metadata>=6.6.0, but you have importlib-metadata 4.2.0 which is incompatible.
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
Removing intermediate container 19bb9468f3b4
---> 9a3999424bb0
Step 10/10 : WORKDIR /mmdetection3d
---> Running in d5735697a82a
Removing intermediate container d5735697a82a
---> cb3a19d6ebf7
Successfully built cb3a19d6ebf7
Successfully tagged mmdetection3d:latest
Additional information
I cloned the main branch, and tried to build the docker image. But, I encountered the above error.