opencv-python
opencv-python copied to clipboard
Build from source python 3.12 fails
Expected behaviour
I tried to build the tag 80 in python 3.12, but build fails
Write here how did you expect the library to function. correct build from source
Actual behaviour
Write here what went wrong. install of some dependencies (i.e. numpy) fail with this error: AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? the dependencies versions of numpy and setuptools are outdated and broken in python 3.12. Is it possible to use latest versions of those packages?
Steps to reproduce
- example code: build from source as tutorial in main page
- operating system: Ubuntu 22.04
- architecture (e.g. x86): x86
- opencv-python version: 80
Issue submission checklist
- [x] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
- [x] 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)
- [x] 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")
- [x] I'm using the latest version of
opencv-python