我正在尝试在我的 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)