'Having an issue in installing ecapture in Python 3.10.2
An error shows up when I tried to install ecapture. I am unsure of what is causing it.
Input: pip install ecapture
Result: 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
I tried doing pip install --upgrade pip setuptools wheel
but no luck
I was wondering if Python 3.10.2 supports the latest version of ecapture, right now? Or am I missing something that I should do?
Solution 1:[1]
The ecapture package requires an older version (0.14.2, released January 2019) of scikit-image. (The current version of scikit-image at time of writing is 0.19.2.)
This version of scikit-image predates Python 3.10, so there will likely be no binary packages available for it.
That means you have to build the package yourself. Since scikit-image is not a pure Python package, it means you will have to compile some C or C++ code.
For ms-windows, this requires that you have to set up a working C(++) compiler.
You can find instructions how to do that in the python wiki.
Solution 2:[2]
Install python 3.10.2 and retry
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Roland Smith |
| Solution 2 | KING |
