root@aita-X11DPG-OT:/data/wwb/3D_Det/mmdetection3d# python3 setup.py develop
running develop
/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py:159: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py:119: PkgResourcesDeprecationWarning: 0.18ubuntu0.18.04.1 is an invalid version and will not be supported in a future release
PkgResourcesDeprecationWarning,
running egg_info
writing mmdet3d.egg-info/PKG-INFO
writing dependency_links to mmdet3d.egg-info/dependency_links.txt
writing requirements to mmdet3d.egg-info/requires.txt
writing top-level names to mmdet3d.egg-info/top_level.txt
reading manifest file 'mmdet3d.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.cpp' under directory 'mmdet3d/.mim/ops'
warning: no files found matching '.cu' under directory 'mmdet3d/.mim/ops'
warning: no files found matching '.h' under directory 'mmdet3d/.mim/ops'
warning: no files found matching '.cc' under directory 'mmdet3d/.mim/ops'
adding license file 'LICENSE'
writing manifest file 'mmdet3d.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python3.6/dist-packages/mmdet3d.egg-link (link to .)
mmdet3d 1.0.0rc5 is already the active version in easy-install.pth
Installed /usr/local/lib/python3.6/dist-packages/importlib_metadata-5.0.0-py3.6.egg
error: importlib-metadata 5.0.0 is installed but importlib-metadata<4.3,>=1.1.0 is required by {'flake8'}
I tried to install mmdet3d and it's all normal.
My installed importlib-metadata == 5.0.0 and flake8 == 5.0.4 .
Maybe you can try to reinstall flake8 == 5.0.4
Prerequisite
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmdetection3d
Environment
sys.platform: linux Python: 3.6.9 (default, Jun 29 2022, 11:45:57) [GCC 8.4.0] CUDA available: True GPU 0,1,2,3,4,5,6,7: Tesla V100-PCIE-32GB CUDA_HOME: /usr/local/cuda-10.2 NVCC: Cuda compilation tools, release 10.2, V10.2.8 GCC: x86_64-linux-gnu-gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 PyTorch: 1.10.1+cu102 PyTorch compiling details: PyTorch built with:
TorchVision: 0.11.2+cu102 OpenCV: 4.6.0 MMCV: 1.6.2 MMCV Compiler: GCC 7.5 MMCV CUDA Compiler: 10.2 MMDetection: 2.25.3 MMSegmentation: 0.29.0 MMDetection3D: 1.0.0rc5+962fc83 spconv2.0: True
Reproduces the problem - code sample
None
Reproduces the problem - command or script
python3 setup.py develop
Reproduces the problem - error message
root@aita-X11DPG-OT:/data/wwb/3D_Det/mmdetection3d# python3 setup.py develop running develop /usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py:159: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. EasyInstallDeprecationWarning, /usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, /usr/local/lib/python3.6/dist-packages/pkg_resources/init.py:119: PkgResourcesDeprecationWarning: 0.18ubuntu0.18.04.1 is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, running egg_info writing mmdet3d.egg-info/PKG-INFO writing dependency_links to mmdet3d.egg-info/dependency_links.txt writing requirements to mmdet3d.egg-info/requires.txt writing top-level names to mmdet3d.egg-info/top_level.txt reading manifest file 'mmdet3d.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.cpp' under directory 'mmdet3d/.mim/ops' warning: no files found matching '.cu' under directory 'mmdet3d/.mim/ops' warning: no files found matching '.h' under directory 'mmdet3d/.mim/ops' warning: no files found matching '.cc' under directory 'mmdet3d/.mim/ops' adding license file 'LICENSE' writing manifest file 'mmdet3d.egg-info/SOURCES.txt' running build_ext Creating /usr/local/lib/python3.6/dist-packages/mmdet3d.egg-link (link to .) mmdet3d 1.0.0rc5 is already the active version in easy-install.pth
Installed /data/wwb/3D_Det/mmdetection3d Processing dependencies for mmdet3d==1.0.0rc5 Searching for importlib-metadata>=4.4; python_version < "3.10" Reading https://pypi.org/simple/importlib-metadata/ /usr/local/lib/python3.6/dist-packages/pkg_resources/init.py:119: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, Downloading https://files.pythonhosted.org/packages/b5/64/ef29a63cf08f047bb7fb22ab0f1f774b87eed0bb46d067a5a524798a4af8/importlib_metadata-5.0.0-py3-none-any.whl#sha256=ddb0e35065e8938f867ed4928d0ae5bf2a53b7773871bfe6bcc7e4fcdc7dea43 Best match: importlib-metadata 5.0.0 Processing importlib_metadata-5.0.0-py3-none-any.whl Installing importlib_metadata-5.0.0-py3-none-any.whl to /usr/local/lib/python3.6/dist-packages Adding importlib-metadata 5.0.0 to easy-install.pth file
Installed /usr/local/lib/python3.6/dist-packages/importlib_metadata-5.0.0-py3.6.egg error: importlib-metadata 5.0.0 is installed but importlib-metadata<4.3,>=1.1.0 is required by {'flake8'}
Additional information
No response