I am now building from source the opencv4.1.0
with cmake3.13
. The cmake configuration gives a warning message saying:
CMake Warning at
check the file cmake/OpenCVGenSetupVars.cmake
if(DEFINED __python_path)
if(IS_ABSOLUTE "${__python_path}")
set(OPENCV_PYTHON_DIR_RELATIVE_CMAKECONFIG "${__python_path}")
message(WARNING "CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install directory")
It seems like you have set your Python path wrong