Skip to content

Help with building opencv-python with non-free modules in vs code #858

@aadinesarkar

Description

@aadinesarkar

Expected behaviour

Expected opencv-contrib-python wheel package to be created in dist in visual studio code.

Actual behaviour

scikit-build could not get a working generator for your system. Aborting build.

Building windows wheels for Python 3.11 requires Microsoft Visual Studio 2022.
Get it with "Visual Studio 2017":

Steps to reproduce

#306 comment

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions