open-mmlab / mmdetection3d

OpenMMLab's next-generation platform for general 3D object detection.
https://mmdetection3d.readthedocs.io/en/latest/
Apache License 2.0
5k stars 1.49k forks source link

[Bug] Docker image build error #2969

Open syoungbaak opened 1 month ago

syoungbaak commented 1 month ago

Prerequisite

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.