Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Arslan-Mehmood1 opened this issue Dec 12, 2023 · 3 comments

Comments

@Arslan-Mehmood1
Copy link

Arslan-Mehmood1 commented Dec 12, 2023

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

@MengyangPu
Copy link
Owner

@Arslan-Mehmood1
I haven't used colab before, so I can't provide further advice. Please verify if the mmcv version supports colab, and this link might help you.

@Arslan-Mehmood1
Copy link
Author

Arslan-Mehmood1 commented Dec 12, 2023

what are the supported python versions for EDTER?
could you please share the compatibility information for EDTER with different pytorch, cuda and python versions.!

@MengyangPu
Copy link
Owner

MengyangPu commented Dec 13, 2023

@Arslan-Mehmood1
Please refer to the full script for setting up EDTER with conda.
python=3.7
pytorch=1.6.0 torchvision cudatoolkit=10.1
mmcv-full==1.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants