ImportError: No module named scipy.sparse

前端之家收集整理的这篇文章主要介绍了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
原文链接:/centos/374978.html

猜你在找的CentOS相关文章