-
Notifications
You must be signed in to change notification settings - Fork 893
Manual build using provided Docker images fails #913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From log:
it means that python3-dev package was not found by some reason. Most probably, you need to set some extra environment variables to fix it. I'll take a look on CI setup and return back. |
I have managed to build a wheel without errors by using an extended set of modules
Unfortunately, after installing the wheel (can be downloaded as opencv_python_headless-4.8.1+7cfd1ee-cp310-cp310-linux_x86_64.zip) and trying to import it in Python, I get the
The check by
|
Expected behaviour
I'm trying to build
opencv-python-headless
for Python 3.10 with only several modules (core
,imgproc
,videoio
) using the provided Docker image with OpenCV dependencies, and using the provided instructions for manual builds.I spin up the following Docker container
quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20231006
and execute the following code in the container shell:Actual behaviour
The build fails with the error below and the full output of
pip wheel . --verbose
can be viewed in out.txt.I also tried adding
-DPYTHON3_LIMITED_API=ON
toCMAKE_ARGS
but the result is the same.And I noticed that there is no folder
python
in_skbuild/linux-x86_64-3.10/cmake-install
, let alone any config files.Steps to reproduce
Since the error is related to
scikit-build
, maybe @henryiii could also help? Thanks a lot to everyone! 🙏Issue submission checklist
opencv-python
The text was updated successfully, but these errors were encountered: