Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: numpy 1.26.4 is not supported on macOS<13.3 ? #29228

Open
@Andrej730

Description

@Andrej730

Describe the issue:

It seems there is still an issue importing 1.26.4 on macOS <13.3 (namely 12.4, 13.0, 13.1)

Here a few reports from Blender users meeting the error importing numpy (Blender is just bundling numpy 1.26.4):

The import error is regarding missing _cblas_caxpy symbol, which was added in 13.3+. Ref

Error message
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.11 from "/Applications/Blender.app/Contents/Resources/4.4/python/bin/python3.11"
  * The NumPy version is: "1.26.4"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: dlopen(/Applications/Blender.app/Contents/Resources/4.4/python/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-darwin.so, 0x0002): Symbol not found: _cblas_caxpy$NEWLAPACK
  Referenced from: <45695925-8A9B-3807-BFD1-EE483318290D> /Applications/Blender.app/Contents/Resources/4.4/python/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-darwin.so
  Expected in:     <E6C2D470-8878-372D-B9DB-0EDCA1303272> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate

This issue came up before in #25026 and it seems to be resolved, but I guess it was never backported to numpy <2.0 or there is some other issue at play?

I understand that 1.26 is about to get dropped (on Sep 16, 2025, according to https://numpy.org/neps/nep-0029-deprecation_policy.html#support-table), but it still the main version used by VFX platform and therefore by Blender and all tools build on top of them and they plan to keep 1.26 for the next year too:

Image
(https://vfxplatform.com/)

So shouldn't this fix be backported to 1.26?
Or if it's too late for a backport, then pypi should specify that only macOS 13.3+ supported, instead of 11.0, so the requirement would be more explicit, instead of running into an error on import, trying to use the latest 1.x version.

Image
(https://pypi.org/project/numpy/1.26.4/#files)

Reproduce the code example:

import numpy as np

Python and NumPy Versions:

1.26.4, 3.11.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions