Software⏱️ 3 min read📅 2026-06-15

How to Fix: Error with "brew install openblas" in macOS

Error installing openblas on macOS HighSierra due to outdated operating system version.

Quick Answer: Update to a newer version of macOS or consider using an alternative installation method.

Error with "brew install openblas" in macOS

The error message indicates that you are using an outdated version of macOS (10.13 High Sierra), which is no longer supported by Apple or Homebrew. This can lead to build failures and other issues when trying to install certain formulas, including OpenBLAS.

🔍 Why This Happens

  • The primary reason for this error is the outdated version of macOS.
  • An alternative reason could be that you have not kept your system up-to-date with the latest security patches and updates.

🚀 How to Resolve This Issue

Upgrade to a supported version of macOS

  1. Step 1: Step 1: Open the Apple menu and select System Preferences, then click on Software Update.
  2. Step 2: Step 2: Click on the "Update Now" button to begin the update process.
  3. Step 3: Step 3: Wait for the update to complete and restart your system if prompted.
  4. Step 4: Step 4: Once your system has restarted, open a terminal window and run the command `brew install openblas` again.

Use an alternative compiler

  1. Step 1: Step 1: Open a terminal window and run the command `brew install --with-compiler gcc@9.3.0 openblas`.
  2. Step 2: Step 2: Wait for the installation to complete, then verify that OpenBLAS has been successfully installed by running the command `which openblas` in the terminal.

🎯 Final Words

After upgrading to a supported version of macOS or using an alternative compiler, you should be able to successfully install OpenBLAS. If you encounter any further issues, please refer to the Homebrew documentation or seek assistance from a qualified IT professional.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions