Caffe installation and compilation problems – importerror: no module named skimage.io

problem description

>>> 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

solutions

~/Downloads/caffe$ sudo apt install python-pip
~/Downloads/caffe$ pip install -U scikit-image

 

Similar Posts: