Problem building OpenCV with CUDA support from source files with Cmake (Python)

But how do you change that in the cmd? I tried adding "DPYTHON3_INSTALL_PATH = “C:/ProgramData/anaconda3/Lib/site-packages/cv2/python-3.11” at the end, but it didn’t have any effect

-DPYTHON3_PACKAGES_PATH="C:/ProgramData/anaconda3/Lib/site-packages

should be sufficient.

Try a new build directory as a test and check the output. I can’t understand why it doesn’t work considering no validation is performed.