ImportError: No module named matplotlib.pyplot

Traceback (most recent call last):
  File "./faster_rcnn/train_net.py", line 23, in 
    from lib.fast_rcnn.train import get_training_roidb, train_net
  File "./faster_rcnn/../lib/__init__.py", line 1, in 
    import fast_rcnn
  File "./faster_rcnn/../lib/fast_rcnn/__init__.py", line 10, in 
    from . import test
  File "./faster_rcnn/../lib/fast_rcnn/test.py", line 9, in 
    import matplotlib.pyplot as plt
ImportError: No module named matplotlib.pyplot

解决方法:

执行

sudo yum install python-matplotlib


你可能感兴趣的:(机器学习,Linux学习笔记,No,module)