ImportError: No module named scipy.sparse
Posted 武睿傲雪
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ImportError: No module named scipy.sparse相关的知识,希望对你有一定的参考价值。
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 9, in <module>
from . import train
File "./faster_rcnn/../lib/fast_rcnn/train.py", line 18, in <module>
from ..gt_data_layer import roidb as gdl_roidb
File "./faster_rcnn/../lib/gt_data_layer/__init__.py", line 7, in <module>
import roidb
File "./faster_rcnn/../lib/gt_data_layer/roidb.py", line 11, in <module>
import scipy.sparse
ImportError: No module named scipy.sparse
解决方法:
先执行
sudo yum install python-scipy
再执行
sudo pip install scipy
以上是关于ImportError: No module named scipy.sparse的主要内容,如果未能解决你的问题,请参考以下文章
ImportError : No module named graphics
python27 ImportError: No module named site
Python中ImportError: No module named request
ImportError: No module named win32api