scikit-image安装出错及解决

pip3 install scikit-image

执行的时候,出现下列错误

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/_f/rzmqms2d2ldd10qw4tvfsfhw0000gn/T/pip-build-ost6i6j_/scikit-image/


在网上找了各种办法,都无效,最后找到官网,发现了编绎以及运行所要的各种环境。
最后把编译所要的各种都装了一遍,问题解决。


http://scikit-image.org/docs/dev/install.html

Build Requirements

  • Python >= 2.7
  • Numpy >= 1.11
  • Cython >= 0.23
  • Six >=1.4
  • SciPy >=0.9
  • numpydoc >=0.6

Runtime requirements

  • Python >= 2.7
  • Numpy >= 1.7.2
  • SciPy >= 0.9
  • Matplotlib >= 1.1.0
  • NetworkX >= 1.8
  • Six >=1.4
  • Pillow >= 1.7.8
    (or  PIL)
  • PyWavelets>=0.4.0

你可能感兴趣的:(Python)