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] Installing mmdet3d v0.17.1 meets some errors. #2971

Open hanzifan opened 1 month ago

hanzifan 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

torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1

Reproduces the problem - code sample

cd mmdetection3d
git checkout v0.17.1
python setup.py install

Reproduces the problem - command or script

cd mmdetection3d
git checkout v0.17.1
python setup.py install

Reproduces the problem - error message

 warnings.warn(
/data/user/qianlong/miniconda3/envs/open-mmlab/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: image-0.20.0rc7 is an invalid version and will not be supported in a future release
  warnings.warn(
Downloading https://files.pythonhosted.org/packages/24/ce/183ff64ed397911a9d3b671714f8a2618af407b427a40ca48550fb0f7bd7/scikit_image-0.23.2.tar.gz#sha256=c9da4b2c3117e3e30364a3d14496ee5c72b09eb1a4ab1292b302416faa360590
Best match: scikit-image 0.23.2
Processing scikit_image-0.23.2.tar.gz
error: Couldn't find a setup script in /tmp/easy_install-aau5dzfu/scikit_image-0.23.2.tar.gz

Additional information

I use python3.8, and want to install mmdet3d v0.17.1. When I ran the python setup.py install command, the error message told me the lower version scikit package was invalid, and I needed scikit 0.23.2. However, python3.8 does not support that high version of scikit package.