问题描述
>>> import caffe Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/xxx/Downloads/caffe/python/caffe/__init__.py", line 1, in <module> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer File "/home/xxx/Downloads/caffe/python/caffe/pycaffe.py", line 15, in <module> import caffe.io File "/home/zrj/Downloads/caffe/python/caffe/io.py", line 2, in <module> import skimage.io ImportError: No module named skimage.io
解决方法
~/Downloads/caffe$ sudo apt install python-pip ~/Downloads/caffe$ pip install -U scikit-image
参考
1.caffe安装详细步骤;
完
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:caffe安装编译问题-ImportError: No module named skimage.io - Python技术站