Building wheel taking an extremely long time
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1k
- Avg merge
- 22h 17m
- Merged PRs (30d)
- 3
Description
Expected behaviour
For it to install quickly.
Actual behaviour
If you run pip3 install opencv-python the installation appears to get stuck at Building wheel for opencv-python. I left it for about an hour with no visible progress.
I've since run pip3 install opencv-python --verbose and as of writing I'm an hour in at 28%.
Steps to reproduce
- See above
- Raspberry Pi OS Bullseye
- ARM
- 4.8.1.78
Issue submission checklist
- This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
- I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
- The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")
- I'm using the latest version of
opencv-python
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
Reproduce pip3 install opencv-python --verbose on Raspberry Pi OS Bullseye with ARM and version 4.8.1.78, then review the build output to identify where the wheel build spends its time. Done should mean determining whether the delay is expected or identifying a build-toolchain change that measurably improves installation time.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- opencv, python, raspberry-pi
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100