


Hunk #1 succeeded at 498 (offset -12 lines).īUILD FAILED (OS X 11.1 using python-build 20180424) Hunk #1 succeeded at 3398 (offset -28 lines). Here's what I type into the terminal and what I get in return: $ CFLAGS="-I$(brew -prefix openssl)/include -I$(brew -prefix bzip2)/include -I$(brew -prefix readline)/include -I$(xcrun -show-sdk-path)/usr/include" LDFLAGS="-L$(brew -prefix openssl)/lib -L$(brew -prefix readline)/lib -L$(brew -prefix zlib)/lib -L$(brew -prefix bzip2)/lib" pyenv install -patch 3.8.3 I have tried the instructions at these links and the error message is the same: I believe it is something to do with the new chip and/or the Big Sur OS. I was able to install pyenv via Homebrew, but when I try to install a new python version I get an error like the below.

I have just gotten a new Macbook Air with M1 chip and I am trying to install Python 3.8.3 (or any 3.x version) via pyenv.
