在 Python 3.10.2 中安装 ecapture 时出现问题

Having an issue in installing ecapture in Python 3.10.2

当我尝试安装 ecapture 时出现错误。我不确定是什么原因造成的。

输入:pip install ecapture

结果:note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for scikit-image Failed to build scikit-image ERROR: Could not build wheels for scikit-image, which is required to install pyproject.toml-based projects

我试过pip install --upgrade pip setuptools wheel 但运气不好

我想知道 Python 3.10.2 现在是否支持最新版本的 ecapture?还是我错过了我应该做的事情?

安装 python 3.10.2 并重试

ecapture 包需要 scikit-image 的旧版本(0.14.2,2019 年 1 月发布)。 (撰写本文时 scikit-image 的当前版本是 0.19.2。)

此版本 scikit-image 早于 Python 3.10,因此可能没有可用的二进制包。

这意味着您必须自己构建包。由于 scikit-image 不是 纯 Python 包,这意味着您将不得不编译一些 C 或 C++ 代码。 对于 ms-windows,这要求您必须设置一个可用的 C(++) 编译器。

您可以在 python wiki.

中找到如何操作的说明