mmcv icon indicating copy to clipboard operation
mmcv copied to clipboard

Error in installing mmcv-full on Mac M1 Chip

Open AlfiHasan007 opened this issue 2 years ago • 3 comments

Tried to install by following steps from the link: https://mmdetection.readthedocs.io/en/stable/get_started.html#installation

  1. using CPU only step :

errors found in "mim install mmcv-full" step: Screen Shot 2022-09-07 at 12 14 09 PM

Screen Shot 2022-09-07 at 12 14 02 PM

  1. Also tried to install using pip.: same error
  2. Tried installing from main build using this command. CC=clang CXX=clang++ CFLAGS='-stdlib=libc++' MMCV_WITH_OPS=1 pip install -e . same error!!
  3. Tried to install the basic "mmcv" which worked but later couldn't able to find CUDA when tried.. mmdetection

Somehow, no matter what I do, it's looking for CUDA. Can't install CUDA as its a Mac M1 Chip.

any help is much appreciated!

AlfiHasan007 avatar Sep 07 '22 17:09 AlfiHasan007

Hi @AlfiHasan007 , could you provide the full log of installation?

zhouzaida avatar Sep 08 '22 06:09 zhouzaida

Will #2194 solve your problem?

HAOCHENYE avatar Sep 09 '22 06:09 HAOCHENYE

pytorch-nightly did solve this problem!

xin-li-67 avatar Sep 17 '22 06:09 xin-li-67