open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.33k stars 9.42k forks source link

Failde building wheel for mmpycocotools #10730

Closed xwhkkk closed 1 year ago

xwhkkk commented 1 year ago

When I run pip install mmpycocotools, it has the following error image The version of mmcv-full and mmdet is 1.2.2 and 2.4.0 ,respectively. Could you give me some suggestions ?

zimenglan-sysu-512 commented 1 year ago

hi @xwhkkk did u solve?

zimenglan-sysu-512 commented 1 year ago

hi @xwhkkk installing cython==0.29.33 works for me

xwhkkk commented 1 year ago

hi @xwhkkk installing cython==0.29.33 works for me

Hi, sorry for the late reply. I followed your suggestion installing Cython == 0.29.33, and it finally made it! Thank you very much!

tlhopl commented 1 year ago

@zimenglan-sysu-512 you save my life.. Thanks a lot

kinredon commented 11 months ago

@zimenglan-sysu-512 Thanks very much!!, I have been stuck on this issue for two days. The official maintainer of mmdet gives the advice to use the latest version of the mmdet. But there are many projects which are built from the old version of mmdet. Thank you a lot again.

hubutui commented 7 months ago

FYI, see also https://github.com/open-mmlab/cocoapi/issues/30#issuecomment-1997672112

lishiqiang2019 commented 2 months ago

hi @xwhkkk installing cython==0.29.33 works for me that works for me ,thanks a lot

kartikeyporwal commented 1 month ago

and this still works when we have cython==3.0.11 out!

ChickenSellerRED commented 1 month ago

hi @xwhkkk installing cython==0.29.33 works for me

Hi, sorry for the late reply. I followed your suggestion installing Cython == 0.29.33, and it finally made it! Thank you very much!

Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

xusheng-code commented 3 weeks ago

hi @xwhkkk installing cython==0.29.33 works for me

it also helps me to build the wheel for mmpycocotools.

Thanks!!!

G-Apple1 commented 2 weeks ago

hi @xwhkkk installing cython==0.29.33 works for me

Thank you very much!! I have found that the version of pip is also important. The 24.2 version of pip that I am using cannot successfully install cython==0.29.33, so I need to downgrade the version to 24.0.