'pip install ecapture creates an error. How do I solve this?

I cannot install ecapture 0.1.8

Python version: 3.9.6

pip: 21.2.2

I am using Windows 10

I typed pip install ecapture and got a whole bunch of collecting and installing messages, then this.:

 ERROR: Failed building wheel for scikit-image
Failed to build scikit-image
ERROR: Could not build wheels for scikit-image which use PEP 517 and cannot be installed directly

I also tried installing scikit-image and wheel individually but that didn't work. Does anyone know how to help?



Solution 1:[1]

I used pip3 install ecapture --no-binary :all: and installed ecapture version 0.0.8 instead of 0.1.8

Solution 2:[2]

1 upload from https://pypi.org/project/ecapture/#files
2 download ecapture-0.1.8-py3-none-any.whl

3 open cmd go to download directory cd C:\Users\me\Downloads (in my PC)

4 pip install ecapture-0.1.8-py3-none-any.whl

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 CoderTang
Solution 2 Someone