Page 1 of 1

So installieren Sie eine andere Version von Python auf MacOS Monterey

Posted: 09 Sep 2025, 15:32
by Anonymous
Ich muss Python 3.6 ausführen, aber 3.9 auf meinem Mac, was Monterey ausführt. < /p>

Code: Select all

pyenv install 3.6.9
< /code>
Aber ich erhalte diese Fehler; < /p>
python-build: use [email protected] from homebrew
python-build: use readline from homebrew
Downloading Python-3.6.9.tar.xz...
-> https://www.python.org/ftp/python/3.6.9/Python-3.6.9.tar.xz
Installing Python-3.6.9...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use zlib from xcode sdk

BUILD FAILED (OS X 12.3 using python-build 2.2.5-1-ga157725d)

Inspect or clean up the working tree at /var/folders/k1/jjq8zhm90z5by3s9rgzrr5p40000gn/T/python-build.20220317113524.63390
Results logged to /var/folders/k1/jjq8zhm90z5by3s9rgzrr5p40000gn/T/python-build.20220317113524.63390.log

Last 10 log lines:
checking for --with-cxx-main=... 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.
Zusätzlich habe ich auch Xcode -Befehlszeilen -Tools installiert.