Build fatal error: Python.h: No such file or directory

please add:

  • os, opencv version
  • your cmake cmdline, and resp. output
  • do you actually whish for python support ? (why not use pip ?)
  • why are you trying to disable contrib modules ?