Skip to content
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

error when compile debug opencv-python #973

Open
beanduan22 opened this issue Apr 11, 2024 · 0 comments
Open

error when compile debug opencv-python #973

beanduan22 opened this issue Apr 11, 2024 · 0 comments

Comments

@beanduan22
Copy link

Describe the doc issue

I wanna manul compile debug opencv-python in windows, and I try a lot of times, but there always show this error, I don't know how to fix it.

git clone --recursive https://github.com/opencv/opencv-python.git
cd .\opencv-python\
set CMAKE_ARGS=-DCMAKE_VERBOSE_MAKEFILE=ON
set VERBOSE=1
pip install scikit-build
python setup.py bdist_wheel --build-type=Debug

Fix suggestion

File "C:\Users\uqbduan\Desktop\cover_opencv\opencv-python\setup.py", line 411, in _classify_installed_files_override
with open(config_py, 'w') as opencv_init_config:
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '_skbuild\win-amd64-3.12\cmake-install\python\cv2\config-3.py'

@opencv-alalek opencv-alalek transferred this issue from opencv/opencv Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants