fundamentalvision / BEVFormer

[ECCV 2022] This is the official implementation of BEVFormer, a camera-only framework for autonomous driving perception, e.g., 3D object detection and semantic map segmentation.
https://arxiv.org/abs/2203.17270
Apache License 2.0
3.27k stars 532 forks source link

error: Couldn't find a setup script in /tmp/easy_install-ian85kkj/scikit_image-0.23.2.tar.gz #251

Open Jarus77 opened 5 months ago

Jarus77 commented 5 months ago

after runnign python setup.py install , i am getiing below erroe.

error: Couldn't find a setup script in /tmp/easy_install-ian85kkj/scikit_image-0.23.2.tar.gz

I solved this error by using pip install . , but and then ran python setup.py . But i want to know, is there any different method to solve this error?

lix19937 commented 5 months ago

similar https://github.com/open-mmlab/mmdetection3d/issues/2971
you can pip install scikit-image==0.23.2

BILL-Liu301 commented 4 months ago

The command 'pip install scikit-image==0.23.2' didn't work. I got this 👇. The python version was python3.8. ERROR: Ignored the following yanked versions: 0.20.0.dev0, 0.20.0rc2, 0.20.0rc3, 0.20.0rc6, 0.20.0rc7 ERROR: Ignored the following versions that require a different python version: 0.22.0 Requires-Python >=3.9; 0.22.0rc1 Requires-Python >=3.9; 0.23.0 Requires-Python >=3.10; 0.23.0rc0 Requires-Python >=3.10; 0.23.0rc2 Requires-Python >=3.10; 0.23.1 Requires-Python >=3.10; 0.23.2 Requires-Python >=3.10; 0.23.2rc1 Requires-Python >=3.10 ERROR: Could not find a version that satisfies the requirement scikit-image==0.23.2 (from versions: 0.7.2, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.9.3, 0.10.0, 0.10.1, 0.11.2, 0.11.3, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.5, 0.15.0, 0.16.2, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0rc0, 0.19.0, 0.19.1, 0.19.2, 0.19.3, 0.20.0rc4, 0.20.0rc5, 0.20.0rc8, 0.20.0, 0.21.0rc0, 0.21.0rc1, 0.21.0) ERROR: No matching distribution found for scikit-image==0.23.2

lix19937 commented 3 months ago

Change another source of pip.

lix19937 commented 3 months ago

ref https://scikit-image.org/docs/stable/user_guide/install.html

datouready commented 3 months ago

@BILL-Liu301 @Jarus77 Hello, have you resolved this issue? I also encountered the same problem, but I haven't solved it yet.

xiaochengyige commented 3 months ago

@datouready Before installing mmdet3d, just execute the following command to install the necessary dependencies:

pip install --no-cache-dir ninja tensorboard==2.13.0 nuscenes-devkit==1.1.10 lyft-dataset-sdk==0.0.8 pandas==1.4.4 llvmlite==0.31.0 einops fvcore seaborn iopath==0.1.9 timm==0.6.13 typing-extensions==4.5.0 pylint ipython==8.12 numpy==1.19.5 matplotlib==3.5.2 numba==0.48.0 pandas==1.4.4 scikit-image==0.19.3 setuptools==59.5.0
datouready commented 3 months ago

@datouready Before installing mmdet3d, just execute the following command to install the necessary dependencies:

pip install --no-cache-dir ninja tensorboard==2.13.0 nuscenes-devkit==1.1.10 lyft-dataset-sdk==0.0.8 pandas==1.4.4 llvmlite==0.31.0 einops fvcore seaborn iopath==0.1.9 timm==0.6.13 typing-extensions==4.5.0 pylint ipython==8.12 numpy==1.19.5 matplotlib==3.5.2 numba==0.48.0 pandas==1.4.4 scikit-image==0.19.3 setuptools==59.5.0

Thank you very much, I will try it now!

BILL-Liu301 commented 3 months ago

@datouready I solved many problems by replace the 'runtime.txt' in the 'requirements' in mmdection3d👇

scipy==1.10.1 pywavelets==1.4.1 scikit-learn==1.3.2 pandas==1.4.4 anyio==3.3.0 lyft_dataset_sdk networkx>=2.2,<2.3 numba==0.48.0 numpy<1.20.0 nuscenes-devkit==1.1.10 plyfile scikit-image==0.19.2 tensorboard trimesh>=2.35.39,<2.35.40

uestchjw commented 3 months ago

Python3.7 doesn't support high version of scikit-image, so pip install scikit-image==0.19.3

Jarus77 commented 3 months ago

@datouready ,I solved by using pip install .