EDTER icon indicating copy to clipboard operation
EDTER copied to clipboard

ERROR: Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects

Open Arslan-Mehmood1 opened this issue 7 months ago • 3 comments

trying this repo on colab

Runtime : Colab T4 GPU Runtime.

Python 3.10.12

default packages on colab: pytorch and cuda version: import torch print(torch.version) 2.1.0+cu118

Installing mmcv-full: !pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu118/2.1.0/index.html

getting error:

Looking in links: https://download.openmmlab.com/mmcv/dist/cu118/2.1.0/index.html Collecting mmcv-full Using cached mmcv-full-1.7.1.tar.gz (605 kB) Preparing metadata (setup.py) ... done Collecting addict (from mmcv-full) Using cached addict-2.4.0-py3-none-any.whl (3.8 kB) Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from mmcv-full) (1.23.5) Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from mmcv-full) (23.2) Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from mmcv-full) (9.4.0) Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from mmcv-full) (6.0.1) Requirement already satisfied: yapf in /usr/local/lib/python3.10/dist-packages (from mmcv-full) (0.40.2) Requirement already satisfied: importlib-metadata>=6.6.0 in /usr/local/lib/python3.10/dist-packages (from yapf->mmcv-full) (7.0.0) Requirement already satisfied: platformdirs>=3.5.1 in /usr/local/lib/python3.10/dist-packages (from yapf->mmcv-full) (4.1.0) Requirement already satisfied: tomli>=2.0.1 in /usr/local/lib/python3.10/dist-packages (from yapf->mmcv-full) (2.0.1) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.10/dist-packages (from importlib-metadata>=6.6.0->yapf->mmcv-full) (3.17.0) Building wheels for collected packages: mmcv-full error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Building wheel for mmcv-full (setup.py) ... error ERROR: Failed building wheel for mmcv-full Running setup.py clean for mmcv-full Failed to build mmcv-full ERROR: Could not build wheels for mmcv-full, which is required to install pyproject.toml-based projects

To reproduce this error: simply start a t4 gpu colab runtime and execute the !pip install command I'm using above for mmcv-full

Arslan-Mehmood1 avatar Dec 12 '23 11:12 Arslan-Mehmood1