相关疑难解决方法(0)

如何在 M1 Macbook 上的 Rosetta 2 下运行 Homebrew 安装程序

我在 M1 MacBook 上。这是我尝试安装 Homebrew 时的错误:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Homebrew is not (yet) supported on ARM processors!
Rerun the Homebrew installer under Rosetta 2.
If you really know what you are doing and are prepared for a very broken experience you can use another installation option for installing on ARM:
  https://docs.brew.sh/Installation

Run Code Online (Sandbox Code Playgroud)

那么我如何“在 Rosetta 2 下重新运行 Homebrew 安装程序”?

macos homebrew apple-silicon rosetta-2

100
推荐指数
7
解决办法
5万
查看次数

无法在具有 M1 芯片的 MacOS Big Sur 上安装 pyenv 3.8.5?

我尝试运行 pyenv install 3.8.5 但不断收到以下错误:

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

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

Inspect or clean up the working tree at /var/folders/61/8hkv2j8j6x7d7ldfq1d201b80000gp/T/python-build.20211009182855.32315
Results logged to /var/folders/61/8hkv2j8j6x7d7ldfq1d201b80000gp/T/python-build.20211009182855.32315.log

Last 10 log lines:
checking size of _Bool... 1
checking size of off_t... 8
checking whether to enable large file support... no
checking size of time_t... 8 …
Run Code Online (Sandbox Code Playgroud)

python homebrew pyenv apple-silicon apple-m1

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

apple-silicon ×2

homebrew ×2

apple-m1 ×1

macos ×1

pyenv ×1

python ×1

rosetta-2 ×1