小编coc*_*kid的帖子

无法在 m1 Apple 芯片上安装 python 3.10.0 - ld:未找到架构 x86_64 的符号

我正在尝试在我的 Apple M1 Silicon 上安装 python 3.10.0。

通过 asdf venv 管理器安装。3.7.9 和 3.9.4 工作没有任何问题,但安装 3.10.0 会导致以下错误:

Last 10 log lines:
  "_libintl_textdomain", referenced from:
      __locale_textdomain in libpython3.10.a(_localemodule.o)
      __locale_textdomain in libpython3.10.a(_localemodule.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clang: clangerror: linker command failed with exit code 1 (use -v to see invocation)
: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Programs/_testembed] Error 1
make: *** Waiting for …
Run Code Online (Sandbox Code Playgroud)

arm python-3.x apple-m1

18
推荐指数
1
解决办法
9072
查看次数

标签 统计

apple-m1 ×1

arm ×1

python-3.x ×1