我是python图像处理的新手。我打算在python(版本19.3)中导入from skimage import data, filter,但遇到此错误


  Traceback (most recent call last): File "C:/Users/John_Bardeen/IdeaProjects/untitled5/.idea/pythonApp.py", line 6, in <module> from skimage import data, filter File "C:\Program Files\Python37\lib\site-packages\skimage\__init__.py", line 127, in <module> from .util.dtype import (img_as_float32, File "C:\Program Files\Python37\lib\site-packages\skimage\util\__init__.py", line 12, in <module> from ._montage import montage File "C:\Program Files\Python37\lib\site-packages\skimage\util\_montage.py", line 2, in <module> from .. import exposure File "C:\Program Files\Python37\lib\site-packages\skimage\exposure\__init__.py", line 1, in <module> from .exposure import histogram, equalize_hist, \ File "C:\Program Files\Python37\lib\site-packages\skimage\exposure\exposure.py", line 3, in <module> from ..color import rgb2gray File "C:\Program Files\Python37\lib\site-packages\skimage\color\__init__.py", line 1, in <module> from .colorconv import (convert_colorspace, File "C:\Program Files\Python37\lib\site-packages\skimage\color\colorconv.py", line 55, in <module> from scipy import linalg ModuleNotFoundError: No module named 'scipy'


有人能帮我一下吗?

最佳答案

看来您需要使用以下代码安装scipy

pip install scipy

关于python - 导入skimage导入数据,过滤器时出错,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/58414278/

10-13 00:03