Error: opencv: unknown or unsupported macOS version: :dunno

7 min read

It seems that the error message you are receiving is indicating that OpenCV does not recognize or support the macOS version you are using.

To resolve this issue, you can try the following steps:

  1. Ensure that you have the latest version of OpenCV installed. Visit the official OpenCV website or use package managers like Homebrew to install or update OpenCV.

  2. If you are using a macOS version that is relatively new or not officially supported by OpenCV, you may need to check for any available updates or patches specifically for your macOS version on the OpenCV community forums or GitHub repository.

  3. Alternatively, you can try building OpenCV from source. This allows you to customize the build based on your macOS version. Refer to the OpenCV documentation or tutorials for instructions on how to build OpenCV from source.

  4. If none of the above solutions work, you may need to consider using a different version of OpenCV or downgrading your macOS version to one that is officially supported by OpenCV.

Remember to check the OpenCV documentation, official forums, or community resources for additional information and support specific to your macOS version.