open-mmlab / mmdeploy

OpenMMLab Model Deployment Framework
https://mmdeploy.readthedocs.io/en/latest/
Apache License 2.0
2.76k stars 633 forks source link

Pip is looking at multiple versions during building from source code. #211

Closed del-zhenwu closed 2 years ago

del-zhenwu commented 2 years ago

Thanks for your bug report. We appreciate it a lot.

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. I have read the FAQ documentation but cannot get the expected help.
  3. The bug has not been fixed in the latest version.

Describe the bug

18:43:26  Collecting editdistance>=0.5
18:43:26    Downloading editdistance-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl (285 kB)
18:43:26  INFO: pip is looking at multiple versions of mmsegmentation to determine which version is compatible with other requirements. This could take a while.
18:43:26  Collecting mmsegmentation
18:43:26    Downloading mmsegmentation-0.21.0-py3-none-any.whl (729 kB)
18:43:26    Downloading mmsegmentation-0.20.2-py3-none-any.whl (686 kB)
18:43:28    Downloading mmsegmentation-0.20.1-py3-none-any.whl (686 kB)
18:43:29    Downloading mmsegmentation-0.20.0-py3-none-any.whl (684 kB)
18:43:29    Downloading mmsegmentation-0.19.0-py3-none-any.whl (630 kB)
18:43:30    Downloading mmsegmentation-0.18.0-py3-none-any.whl (623 kB)
18:43:31    Downloading mmsegmentation-0.17.0-py3-none-any.whl (542 kB)
18:43:31  INFO: pip is looking at multiple versions of mmsegmentation to determine which version is compatible with other requirements. This could take a while.
18:43:32    Downloading mmsegmentation-0.16.0-py3-none-any.whl (512 kB)
18:43:34    Downloading mmsegmentation-0.15.0-py3-none-any.whl (214 kB)
18:43:34    Downloading mmsegmentation-0.14.1-py3-none-any.whl (201 kB)
18:43:35    Downloading mmsegmentation-0.14.0-py3-none-any.whl (200 kB)
18:43:35    Downloading mmsegmentation-0.13.0-py3-none-any.whl (199 kB)

Reproduction

pip install -r requirements.txt

Environment

Error traceback

If applicable, paste the error trackback here.

A placeholder for trackback.

Bug fix

If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

RunningLeon commented 2 years ago

@del-zhenwu mmseg version is not locked yet in requirements.txt BTW, it seems to be a bug of pip. you should upgrade pip to latest in you environment by pip install --upgrade pip.

RunningLeon commented 2 years ago

@del-zhenwu Can we close this issue?

del-zhenwu commented 2 years ago

@del-zhenwu mmseg version is not locked yet in requirements.txt BTW, it seems to be a bug of pip. you should upgrade pip to latest in you environment by pip install --upgrade pip.

Not only with mmseg, all the packages have the same problem, and the version of pip is the latest.


[2022-03-07T21:26:54.754Z]   Downloading opencv_python-4.2.0.32-cp37-cp37m-manylinux1_x86_64.whl (28.2 MB)

[2022-03-07T21:26:58.995Z]   Downloading opencv_python-4.1.2.30-cp37-cp37m-manylinux1_x86_64.whl (28.3 MB)

[2022-03-07T21:27:04.380Z]   Downloading opencv_python-4.1.1.26-cp37-cp37m-manylinux1_x86_64.whl (28.7 MB)

[2022-03-07T21:27:08.657Z]   Downloading opencv_python-4.1.0.25-cp37-cp37m-manylinux1_x86_64.whl (26.6 MB)

[2022-03-07T21:27:14.135Z]   Downloading opencv_python-4.0.1.24-cp37-cp37m-manylinux1_x86_64.whl (25.7 MB)

[2022-03-07T21:27:18.353Z]   Downloading opencv_python-4.0.0.21-cp37-cp37m-manylinux1_x86_64.whl (25.4 MB)

[2022-03-07T21:27:22.569Z]   Downloading opencv_python-3.4.17.61-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (58.0 MB)

[2022-03-07T21:27:29.193Z]   Downloading opencv_python-3.4.16.59-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (58.0 MB)

[2022-03-07T21:27:35.807Z]   Downloading opencv_python-3.4.16.57-cp37-cp37m-manylinux2014_x86_64.whl (58.0 MB)

[2022-03-07T21:27:41.153Z]   Downloading opencv_python-3.4.15.55-cp37-cp37m-manylinux2014_x86_64.whl (47.9 MB)

[2022-03-07T21:27:47.800Z]   Downloading opencv_python-3.4.14.53-cp37-cp37m-manylinux2014_x86_64.whl (48.9 MB)

[2022-03-07T21:27:54.495Z]   Downloading opencv_python-3.4.14.51-cp37-cp37m-manylinux2014_x86_64.whl (48.9 MB)

[2022-03-07T21:27:59.812Z]   Downloading opencv_python-3.4.13.47-cp37-cp37m-manylinux2014_x86_64.whl (48.6 MB)

[2022-03-07T21:28:05.160Z]   Downloading opencv_python-3.4.11.45-cp37-cp37m-manylinux2014_x86_64.whl (49.1 MB)

[2022-03-07T21:28:11.841Z]   Downloading opencv_python-3.4.11.43-cp37-cp37m-manylinux2014_x86_64.whl (49.1 MB)

[2022-03-07T21:28:17.176Z]   Downloading opencv_python-3.4.11.41-cp37-cp37m-manylinux2014_x86_64.whl (49.0 MB)

[2022-03-07T21:28:22.513Z]   Downloading opencv_python-3.4.10.37-cp37-cp37m-manylinux2014_x86_64.whl (48.9 MB)

[2022-03-07T21:28:27.937Z]   Downloading opencv_python-3.4.9.33-cp37-cp37m-manylinux1_x86_64.whl (28.2 MB)

[2022-03-07T21:28:33.258Z]   Downloading opencv_python-3.4.8.29-cp37-cp37m-manylinux1_x86_64.whl (28.3 MB)

[2022-03-07T21:28:37.480Z]   Downloading opencv_python-3.4.7.28-cp37-cp37m-manylinux1_x86_64.whl (28.7 MB)

[2022-03-07T21:28:42.805Z]   Downloading opencv_python-3.4.6.27-cp37-cp37m-manylinux1_x86_64.whl (28.4 MB)

[2022-03-07T21:28:47.041Z]   Downloading opencv_python-3.4.5.20-cp37-cp37m-manylinux1_x86_64.whl (25.4 MB)

[2022-03-07T21:28:52.327Z]   Downloading opencv_python-3.4.4.19-cp37-cp37m-manylinux1_x86_64.whl (25.4 MB)

[2022-03-07T21:28:56.560Z]   Downloading opencv_python-3.4.3.18-cp37-cp37m-manylinux1_x86_64.whl (25.0 MB)

[2022-03-07T21:29:01.891Z]   Downloading opencv_python-3.4.2.17-cp37-cp37m-manylinux1_x86_64.whl (25.0 MB)

[2022-03-07T21:29:06.134Z]   Downloading opencv-python-3.4.0.14.tar.gz (87.3 MB)

[2022-03-07T21:29:24.410Z] INFO: pip is looking at multiple versions of mmcv-full to determine which version is compatible with other requirements. This could take a while.

[2022-03-07T21:29:24.410Z] Collecting mmcv-full>=1.3.1

[2022-03-07T21:29:24.410Z]   Downloading mmcv-full-1.4.6.tar.gz (438 kB)

[2022-03-07T21:31:16.000Z]   Downloading mmcv-full-1.4.5.tar.gz (420 kB)

[2022-03-07T21:33:22.688Z]   Downloading mmcv-full-1.4.4.tar.gz (420 kB)

[2022-03-07T21:35:14.323Z]   Downloading mmcv-full-1.4.3.tar.gz (416 kB)

[2022-03-07T21:37:05.933Z]   Downloading mmcv-full-1.4.2.tar.gz (405 kB)

[2022-03-07T21:38:57.702Z]   Downloading mmcv-full-1.4.1.tar.gz (408 kB)

[2022-03-07T21:40:49.336Z]   Downloading mmcv-full-1.4.0.tar.gz (403 kB)

[2022-03-07T21:42:56.034Z] INFO: pip is looking at multiple versions of mmcv-full to determine which version is compatible with other requirements. This could take a while.

[2022-03-07T21:42:56.034Z]   Downloading mmcv-full-1.3.18.tar.gz (381 kB)

[2022-03-07T21:44:47.720Z]   Downloading mmcv-full-1.3.17.tar.gz (390 kB)

[2022-03-07T21:46:39.462Z]   Downloading mmcv-full-1.3.16.tar.gz (389 kB)

[2022-03-07T21:48:31.137Z]   Downloading mmcv-full-1.3.15.tar.gz (352 kB)

[2022-03-07T21:50:37.861Z]   Downloading mmcv-full-1.3.14.tar.gz (324 kB)
del-zhenwu commented 2 years ago

Replaced with RUN pip install -r requirements/tests.txt instead ofrequirements.txt&& pip install -r requirements/build.txt \ && pip install -r requirements/runtime.txt \, it works.

RunningLeon commented 2 years ago

I upgraded pip to 22.0.3 and it works

RunningLeon commented 2 years ago

@del-zhenwu Hi, could we close this issue?