Closed arushijain45 closed 3 years ago
I resolved this issue after installing mmcv-full with legacy-resolver for pip. Then installed pycocotools, its correctly installed.
Commands used:
pip install mmcv-full==latest+torch1.6.0+cu101 -f https://download.openmmlab.com/mmcv/dist/index.html --use-deprecated=legacy-resolver
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
Environment:
addict==2.4.0
certifi==2020.11.8
cycler==0.10.0
Cython==0.29.21
future==0.18.2
kiwisolver==1.3.1
matplotlib==3.3.3
mkl-fft==1.2.0
mkl-random==1.1.1
mkl-service==2.3.0
mmcv-full==1.2.1
mmpycocotools @ git+https://github.com/open-mmlab/cocoapi.git@01f805cd54d7bd7af64c0fbd5fd96d8ca0b9ddc9#subdirectory=pycocotools
numpy @ file:///tmp/build/80754af9/numpy_and_numpy_base_1603479632437/work
olefile==0.46
opencv-python==4.4.0.46
Pillow==6.2.2
pyparsing==2.4.7
python-dateutil==2.8.1
PyYAML==5.3.1
six @ file:///tmp/build/80754af9/six_1605205313296/work
terminaltables==3.1.0
torch==1.6.0
torchvision==0.7.0
yapf==0.30.0
In the step: pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
I am getting following error:
Environment: