Closed
Description
Description
- Platform information (e.g. Ubuntu Linux 16.04): Mac OS (Big Sur version 11.6)pyenv version: 2.2.0Python version: Currently Python=2.7 and Python3=3.9 (Attempting to install 3.6)
I installed pyenv using homebrew. Every step along the way looked correct, however when I run
pyenv install 3.6.6
I get the following error
python-build: use openssl from homebrew
python-build: use readline from homebrew
Downloading Python-3.6.6.tar.xz...
-> https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.xz
Installing Python-3.6.6...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
BUILD FAILED (OS X 11.6 using python-build 2.2.0-5-g54889eb8)
Inspect or clean up the working tree at /var/folders/77/93y4tp5x557ff0h_3f76bh5c0000gn/T/python-build.20211103152847.87140
Results logged to /var/folders/77/93y4tp5x557ff0h_3f76bh5c0000gn/T/python-build.20211103152847.87140.log
Last 10 log lines:
checking for --with-cxx-main=<compiler>... no
checking for clang++... no
configure:
By default, distutils will build C++ extension modules with "clang++".
If this is not intended, then set CXX on the configure command line.
checking for the platform triplet based on compiler characteristics... darwin
configure: error: internal configure error for the platform triplet, please file a bug report
make: *** No targets specified and no makefile found. Stop.
I have tried uninstalling and reinstalling and continue to receive this error. Please assist.
Activity
[-]Unable to install any python versions with pyenv[/-][+]Unable to install any python versions with pyenv in MacOS 11[/+]native-api commentedon Nov 3, 2021
For 3.6 specifically, duplicate of #1737 . 3.6 doesn't support MacOS 11+.
genewliu commentedon Feb 28, 2022
Hi sir - sorry I think we need some help on this issue as it seems different from #1737.
youngtechc commentedon Mar 15, 2022
Did you ever get a response? I'm running into the same issue
lofoyet commentedon Mar 15, 2022
same here
native-api commentedon Mar 15, 2022
Need full diagnostic info as per the issue template and also
config.log
.native-api commentedon Mar 15, 2022
Also please explain how the issue is different from #1737 . It says there clear as day that 3.6.6 is incompatible with MacOS 11+.
MarcFogleman commentedon Mar 15, 2022
I have a coworker with this same error when trying to install 3.10.0. @Jake-Mulhern, does your Macbook have an M1 Pro chip?
abhishekeb7 commentedon Mar 15, 2022
Facing the same issue.
Platform: MacOS Monterey 12.3 with Intel chip.
DanielFNG commentedon Mar 15, 2022
Accidentally posted this on a closed issue earlier (#1737 (comment)).
I have not seen this issue before upgrading to Monterey 12.3, but now I am unable to install Python 3.8.12 using pyenv. I am on an M1 Mac, and installed pyenv, and the python3 dependencies, via homebrew following the installation instructions.
The log file generated contains the following error:
native-api commentedon Mar 16, 2022
@DanielFNG #2143 (comment)
28 remaining items
joshfriend commentedon Mar 18, 2022
Hi folks, if you see a comment that helps you, just 👍 to the comment instead of leaving new ones. Adding "me too" comments just creates noise for us maintainers to have to sift through.
If you have a new unique problem, please open new issues for them.
native-api commentedon Apr 29, 2022
2all:
#2344 has backported the fix to 3.7.8+, 3.8.4+, 3.9.0+ (all versions that support MacOS 11+).
So this should be over now as long as you have Pyenv with that PR.