ModuleNotFoundError: No module named 'pycocotools'

ModuleNotFoundError: No module named 'pycocotools'

 

pip install pycocotools
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ 
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ pip install pycocotools
Collecting pycocotools
  Using cached pycocotools-2.0.4-cp37-cp37m-linux_x86_64.whl
Requirement already satisfied: matplotlib>=2.1.0 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from pycocotools) (3.5.2)
Requirement already satisfied: numpy in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from pycocotools) (1.18.5)
Requirement already satisfied: python-dateutil>=2.7 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools) (2.8.2)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools) (1.4.2)
Requirement already satisfied: cycler>=0.10 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools) (0.11.0)
Requirement already satisfied: pillow>=6.2.0 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools) (9.1.0)
Requirement already satisfied: fonttools>=4.22.0 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools) (4.33.3)
Requirement already satisfied: pyparsing>=2.2.1 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools) (3.0.9)
Requirement already satisfied: packaging>=20.0 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools) (21.3)
Requirement already satisfied: typing-extensions in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib>=2.1.0->pycocotools) (4.2.0)
Requirement already satisfied: six>=1.5 in /home/bim/anaconda3/envs/mask_rcnn_tf2/lib/python3.7/site-packages (from python-dateutil>=2.7->matplotlib>=2.1.0->pycocotools) (1.16.0)
Installing collected packages: pycocotools
Successfully installed pycocotools-2.0.4
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ 
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ 
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ 
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/project/object_detection/pythons/Mask_RCNN/samples/coco$ 

 

 

 

 

 

 

######################

posted @ 2022-05-17 22:26  西北逍遥  阅读(935)  评论(0编辑  收藏  举报