Failed to build opencv-python ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1k
- Avg merge
- 22h 17m
- Merged PRs (30d)
- 3
Description
Hi everyone, I am trying to install opencv-python 4.7.0.72 in unbuntu and it shows that no wheels can be built. My pip has updated to 21.2.1 and Python version is 3.9. Apprecitae for any tipps. Thanks a lot.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files or tests; start by reviewing the reported Ubuntu, Python 3.9, pip 21.2.1, and opencv-python 4.7.0.72 installation details and the attached error image. Reproduce the wheel-build failure and inspect the automated packaging toolchain. Done means the package installs successfully in the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- opencv, python
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100