gpt4 book ai didi

python - 导入错误 : DLL load failed while importing _rolling_ball_cy:

转载 作者:行者123 更新时间:2023-12-05 09:06:50 26 4
gpt4 key购买 nike

我是 Python 的新手,正在开发一个小型 opencv 应用程序。我需要来自 scikit-image 的 local_threshold 但出现以下错误:

Traceback (most recent call last): File"D:/Projects/Python/Document_Scanner/main.py", line 6, in from skimage.filters import threshold_local File "C:\Users\nash2\AppData\Local\Programs\Python\Python38-32\lib\site-packages\skimage\filters_init_.py",line 4, in from .edges import (sobel, sobel_h, sobel_v, File "C:\Users\nash2\AppData\Local\Programs\Python\Python38-32\lib\site-packages\skimage\filters\edges.py",line 18, in from ..restoration.uft import laplacian File "C:\Users\nash2\AppData\Local\Programs\Python\Python38-32\lib\site-packages\skimage\restoration_init_.py",line 13, in from .rolling_ball import rolling_ball, ball_kernel, ellipsoid_kernel File"C:\Users\nash2\AppData\Local\Programs\Python\Python38-32\lib\site-packages\skimage\restoration\rolling_ball.py",line 3, in from ._rolling_ball_cy import apply_kernel, apply_kernel_nan ImportError: DLL load failed while importing _rolling_ball_cy: Thespecified module could not be found.

我尝试恢复到旧版本的 scikit-image ,但仍然出现错误。我当前的 scikit-image 版本是 0.18.0

最佳答案

安装老版本(0.18.0rc0版本)的scikit-image我解决了这个问题

关于python - 导入错误 : DLL load failed while importing _rolling_ball_cy:,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65687480/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com