opencv / opencv/opencv-python

pip wheel . --verbose didn't build a wheel for opencv, just opencv_contrib and numpy

Open
#876 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.4k
Forks
1k
Avg merge
22h 17m
Merged PRs (30d)
3

Description

Expected behaviour

Build a .whl file for opencv as well as one for opencv_contrib

Actual behaviour

.whl for opencv_contrib was built but .whl file for opencv was not built

Steps to reproduce

export ENABLE_CONTRIB=1

ubuntu 22.04 on WSL2

x86-64

  • opencv-python version
    did git checkout tag/4.5.5 in the opencv_contrib subdirectory
    did git checkout tag/4.5.5 in the opencv subdirectory
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing pip wheel . --verbose with ENABLE_CONTRIB=1 on the reported Ubuntu 22.04 WSL2 x86-64 setup, using the OpenCV and opencv_contrib 4.5.5 checkouts. Inspect the repository's build scripts to determine why only opencv_contrib and numpy wheels are produced; done means the command builds an opencv wheel as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
opencv, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.