小编hon*_*kun的帖子

在 macOS 12.3 Monterey 上安装 Python 3.8.10 时出现问题

有人在 macOS Monterey M1 Mac 上安装 python 3.8.10 时遇到问题吗?我尝试安装的任何版本pyenv install都会出现此错误:

python-build: use openssl@1.1 from homebrew python-build: use readline from homebrew Downloading Python-3.8.10.tar.xz... -> https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz Installing Python-3.8.10... python-build: use readline from homebrew python-build: use zlib from xcode sdk

BUILD FAILED (OS X 12.3 using python-build 20180424)

Inspect or clean up the working tree at /var/folders/yg/s2w3pfj172v6kdwx7hvmq65m0000gn/T/python-build.20220322155830.88129 Results logged to /var/folders/yg/s2w3pfj172v6kdwx7hvmq65m0000gn/T/python-build.20220322155830.88129.log

Last 10 log lines: checking for --with-cxx-main=<compiler>... no checking for clang++... no configure:

By default, distutils will build C++ extension …
Run Code Online (Sandbox Code Playgroud)

python macos python-3.x apple-m1 macos-monterey

35
推荐指数
3
解决办法
4万
查看次数

标签 统计

apple-m1 ×1

macos ×1

macos-monterey ×1

python ×1

python-3.x ×1