
Here are the steps I followed: # setuptools < 60.0.0 is required for numpy=1.23.4 in Python 3.10.8 Here are the versions I've just installed. I'm using (brew -prefix)/bin/python3 -m pip for explicitly calling the pip from python 3.10 installed by brew. I'm currently using Python 3.10.8, installed using brew.Īnd currently, when installing numpy=1.23.4, setuptools < 60.0.0 is required. Skipping wheel build for numpy, due to binaries being disabled for it. (.env) ➜ great_expectation_demo git:(master) ✗ pip install -no-binary :all: -no-use-pep517 numpy

(.env) ➜ great_expectation_demo git:(master) ✗ export ARCHFLAGS="-arch x86_64"

I found this solution before compile numpy and scipyįrom the above error message, you can see that the last error shows that clang has an error, so it is speculated that it should be an error caused by the compiler, because the new version of the xcode command tool uses the arm version of the compilation method by default, and if we want to use For x86 architecture, we need to manually set the specific architecture through environment variables.

In addition, if someone has this error message> # CLIB COMPILER OPTIMIZATION #ĬCompilerOpt.cache_flush : write cache to path
