Skip to content

The package mmcv won't be able to install #58

@JiahaoYu1

Description

@JiahaoYu1

Hello,

I'm a student on stage in Prof. Jeffery Cardille's lab at McGill, and we're trying to run this AI model on our own computer. When I was trying out the Flood Segmentation, the package mmcv is required, and I tried different ways to install the package but always get the error: Failed building wheel for mmcv, and here are my torch and cuda version:

!python -c 'import torch;print(torch.__version__);print(torch.version.cuda)'
2.2.1+cu121
12.1

and some approaches that I tried:
!pip install -U openmim

  1. !mim install mmcv==2.0.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.2.1/index.html

  2. !mim install mmcv-full

  3. !pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.1/index.html

  4. git clone https://github.com/open-mmlab/mmcv.git
    cd mmcv
    pip install -r requirements/optional.txt
    MMCV_WITH_OPS=1 pip install -e .
    python .dev_scripts/check_installation.py

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions