我是半新的Python,我想使用scikit形象,但只要我尝试导入,我得到的错误。 我过得了他们几个,但我被困在这一个,当我尝试进口:
In [8]: from skimage import data, io, filter
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-8-7863d911e191> in <module>()
----> 1 from skimage import data, io, filter
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage/data/__init__.py in <module>()
10
11 from .. import data_dir
---> 12 from ..io import imread, use_plugin
13
14
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage/io/__init__.py in <module>()
9 from .collection import *
10
---> 11 from ._io import *
12 from ._image_stack import *
13
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage/io/_io.py in <module>()
6
7 from ..io.manage_plugins import call_plugin
----> 8 from ..color import rgb2grey
9 from .util import file_or_url_context
10 from ..exposure import is_low_contrast
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage/color/__init__.py in <module>()
----> 1 from .colorconv import (convert_colorspace,
2 guess_spatial_dimensions,
3 rgb2hsv,
4 hsv2rgb,
5 rgb2xyz,
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/skimage/color/colorconv.py in <module>()
56 from warnings import warn
57 import numpy as np
---> 58 from scipy import linalg
59 from ..util import dtype
60
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/__init__.py in <module>()
170 from .linalg_version import linalg_version as __version__
171
--> 172 from .misc import *
173 from .basic import *
174 from .decomp import *
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/misc.py in <module>()
3 import numpy as np
4 from numpy.linalg import LinAlgError
----> 5 from .blas import get_blas_funcs
6 from .lapack import get_lapack_funcs
7
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/blas.py in <module>()
153 import numpy as _np
154
--> 155 from scipy.linalg import _fblas
156 try:
157 from scipy.linalg import _cblas
ImportError: cannot import name _fblas
我搜索了这个问题,但也有的是用简单的卸载并重新安装蟒蛇成功,我没有。 此外,其他有Windows特定的解决方案,但我在Mac上。 我相当有信心,我使用python,numpy的,SciPy的,matplotlib和skikit图像的最新版本,因为我只上星期安装它们。