no moduled named pycocotools_mask

git clone https://github.com/cocodataset/cocoapi.git

cd cocoapi/PythonAPI

python setup.py build_ext --inplace

python setup.py build_ext instal

拷贝PythonAPI 下的pycocotools 到 python .../site-packages目录下

 

bug:

AttributeError: module 'pycocotools' has no attribute '__version__'

pip list | grep pycocotools
pip uninstall pycocotools
pip uninstall mmpycocotools
pip install mmpycocotools

posted @ 2020-07-28 10:34  U_C  阅读(1719)  评论(0编辑  收藏  举报