ImportError: No module named matplotlib.pyplot
Posted 武睿傲雪
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ImportError: No module named matplotlib.pyplot相关的知识,希望对你有一定的参考价值。
Traceback (most recent call last):
File "./faster_rcnn/train_net.py", line 23, in <module>
from lib.fast_rcnn.train import get_training_roidb, train_net
File "./faster_rcnn/../lib/__init__.py", line 1, in <module>
import fast_rcnn
File "./faster_rcnn/../lib/fast_rcnn/__init__.py", line 10, in <module>
from . import test
File "./faster_rcnn/../lib/fast_rcnn/test.py", line 9, in <module>
import matplotlib.pyplot as plt
ImportError: No module named matplotlib.pyplot
解决方法:
执行
sudo yum install python-matplotlib
以上是关于ImportError: No module named matplotlib.pyplot的主要内容,如果未能解决你的问题,请参考以下文章
ImportError : No module named graphics
python27 ImportError: No module named site
Python中ImportError: No module named request
ImportError: No module named win32api