BUILD FAILED (OS X 12.2.1 using python-build 20180424)
Inspect or clean up the working tree at /var/folders/yv/phjbvfsj1n72_qksqt8sd7n80000gn/T/python-build.20220426001243.11034
Results logged to /var/folders/yv/phjbvfsj1n72_qksqt8sd7n80000gn/T/python-build.20220426001243.11034.log
Last 10 log lines:
"_libintl_textdomain", referenced from:
_PyIntl_textdomain in libpython3.7m.a(_localemodule.o)
_PyIntl_textdomain in libpython3.7m.a(_localemodule.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clang: clang: error: error: linker command failed with exit code 1 (use -v to see invocation)
linker command failed with exit code 1 (use -v to see invocation)
make: *** [Programs/_testembed] Error 1
make: *** Waiting for unfinished jobs....
make: *** [python.exe] Error 1
에러 내용이다.. 내가 깔려던 버전은 pyenv install 3.7.13
결론부터 말하자면 맥 m1칩에는 3.9.10 버전 이상부터 지원한다고 한다.
그래서 갈긴 pyenv install 3.9.10
그리고 오류
BUILD FAILED (OS X 12.2.1 using python-build 20180424)
Inspect or clean up the working tree at /var/folders/yv/phjbvfsj1n72_qksqt8sd7n80000gn/T/python-build.20220426001808.21429
Results logged to /var/folders/yv/phjbvfsj1n72_qksqt8sd7n80000gn/T/python-build.20220426001808.21429.log
Last 10 log lines:
_PyLocale_localeconv in libpython3.9.a(_localemodule.o)
"_libintl_textdomain", referenced from:
ld: symbol(s) not found for architecture x86_64
_PyIntl_textdomain in libpython3.9.a(_localemodule.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Programs/_testembed] Error 1
make: *** Waiting for unfinished jobs....
make: *** [python.exe] Error 1
음~ 오키오키
주목해야 할 부분 ld: symbol(s) not found for architecture x86_64 를 보니
그래...!
Intel 프로세서 아키텍처는 x86_64이고 Apple Silicon M1은 arm64 아키텍처이다. 그래서 저 코드를 추가하면 됨
arch -arm64 pyenv install 3.9.10
(base) user@user-ui-MacBookAir code-django % pyenv versions
* system (set by /Users/user/.pyenv/version)
3.9.10
잘 깔렸다.
'컴퓨터 > 그 외' 카테고리의 다른 글
[Intellij] mysql에서 만든 DB를 Intellij DB툴로 옮기기 (0) | 2021.04.13 |
---|