小编Shy*_*yam的帖子

在 macOS - 12.0 M1 (arm64) 中使用 pyenv 安装 python 3.5.10 时出现问题

尝试使用以下命令安装 python 3.5.10,

LDFLAGS="-L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" arch -x86_64 pyenv install --patch 3.5.10 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)
Run Code Online (Sandbox Code Playgroud)

错误

python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.5.10.tar.xz...
-> https://www.python.org/ftp/python/3.5.10/Python-3.5.10.tar.xz
Installing Python-3.5.10...
patching file Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst
patching file configure
Hunk #1 succeeded at 3492 (offset 66 lines).
patching file configure.ac
Hunk #1 succeeded at 492 (offset -18 lines).
python-build: use tcl-tk from $PYTHON_CONFIGURE_OPTS
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
WARNING: The Python …
Run Code Online (Sandbox Code Playgroud)

python pyenv apple-m1 macos-monterey

5
推荐指数
1
解决办法
2010
查看次数

标签 统计

apple-m1 ×1

macos-monterey ×1

pyenv ×1

python ×1