如何解决如何在 Windows 上正确安装 Python 的 scikit-image 模块?
平台:Windows 10 Pro 20H2,Python 3.8.7
我需要安装 image-match
模块,但是当安装到所需的 scikit-image
模块时,我收到错误:
Running setup.py install for scikit-image ... error
ERROR: Command errored out with exit status 1:
WARNING: The wheel package is not available.
上网冲浪我发现 scikit-image
用于 windows 的模块轮不可用。我尝试使用二进制 .whl 文件安装 scikit-image
。看起来像安装了模块,我尝试再次安装 image-match
。现在我收到了:
Building wheel for image-match (setup.py) ... done
Created wheel for image-match: filename=image_match-1.1.2-py3-none-any.whl size=21230 sha256=bb2a55e18dac36ab10056523f66383756fac637eafe4f12d4e12df9a3da3ad8c
Stored in directory: c:\users\user\appdata\local\pip\cache\wheels\70\62\40\3511b893ee0655b25176450c3b0405caf4ded0f44927de3ebe
Building wheel for scikit-image (setup.py) ... error
ERROR: Command errored out with exit status 1:
Partial import of skimage during the build process.
我的 Python 不是那么好,那我做错了什么?
解决方法
出于某种原因直接从 Github 链接安装 PyPI 有一个旧版本的分支。
使用此命令 pip install git+https://github.com/EdjoLabs/image-match
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。