m1 맥북에서는 3.7버전의 python이 깔리지 않는다
왜냐하면 python 3.7은 ARM인 macOS에서 공식 지원하지 않아서, M1(Apple Silicon) 맥북에 사용할 수 있는 공식 배포판이 없기 때문이다.
그래서 x86_64 를 설치하고 python3.7을 까는 쪽으로 해야한다리..
상당히 골치가 아팠는데 여기저기 삽질하다가 너무 간단하게 해서 저장용으로 기록


현재 사용중인 노트북은 2020년 m1칩의 맥북 에어다
("이 mac에 관하여"에서 확인 가능)

2023. 9월 기준 맥북에서 설치가능한 python버전은 3.8~3.11이다..
난 근데 3.7이 필요하다고~~!! 훌쩍..
아래는 시도해본 몇개의 사이트들..
How to install python 3.7 on macbook M1 ?
This is what you get when you try to install python 3.7 from brew on M1.
diewland.medium.com
installing python@3.7 MacBook Air m1 problem
I am gettin following error while installing python3.7 on MacBook air m1 2020. I run the following command: brew install python@3.7 The following error is thrown: python@3.7: The x86_64 architectu...
stackoverflow.com
Python build fails on M1 Apple Silicon with arm64 homebrew · Issue #1768 · pyenv/pyenv
Referencing other issues, I've been trying unsuccessfully for a native compile of 3.9.0 on an M1 MacBook Air using the following: (FYI rosetta works without any issue with this config - goal is to ...
github.com
이거말고도 여러개 해봤는데 내 컴퓨터에서는 번번히 실패 ㅠ
- PackagesNotFoundError: The following packages are not available from current channels:
- Error: python@3.7 has been disabled because it is deprecated upstream!
- Error: No similarly named formulae found. Error: No available formula or cask with the name "python"
- No formulae or casks found for openssl readline sqlite3 xz zlib gettext.
등등의 에러를 만나고나서야 방법을 발견하였따!
* 참고로 아나콘다가 이미 깔려있는 상태이고, 콘다의 가상환경에서 python3.7을 깔고자 하였다
* 터미널에서 설치 및 실행하엿다
conda create -n yjenv
먼저 사용할 가상환경을 생성 (이미 가상환경이 있다면 skip)
yjenv 부분에는 각자 생성할 가상환경 이름을 넣으면 됨
conda activate yjenv
설치할 가상환경을 실행시켜준다
conda config --env --set subdir osx-64
conda로 가상환경 하위 디렉토리에 64비트 macOS 패키지를 설치해준다
conda install python=3.7
python3.7를 설치해주면 완료 ~!!!
python --version
잘 설치가 되었는지 파이썬 버전을 확인해준다.

잘 설치가 된 모습^^ !!!!
안되거나 뭔가 망해서 다시 하고 싶으면 가상환경을 삭제하고 다시 만들어서 하면 된다
conda env remove -n yjenv 를 실행하면 가상환경이 삭제된다 (yjenv는 임의의 이름이므로 삭제할 가상환경 이름으로 변경)
추가로 mecab 설치방법 링크 !
macOS
M1 Part11 - konlpy.tag MECAB on M1 (Updated + on Colab)
M1을 사용하다보면, 마주하는 난관들이 있다. 그 중 하나가 MECAB이 아닐까 싶다. 사실은 KONLPY의 다른 형태소분석기 친구들을 사용하려면, JAVA SDK(?)가 필요한 것으로 알고 있다. 그래서 zulu 혹은 ORA
velog.io
Windows
Bitbucket
bitbucket.org
출처 (m1 macOS python3.7 install)
Env creation from python 3.7 not working M1 Apple Silicon Mac (Miniconda 3) · Issue #12206 · conda/conda
Checklist I added a descriptive title I searched open reports and couldn't find a duplicate What happened? tried to create an env with these commands both are failing on Apple Silicon Mac. conda cr...
github.com
Cannot install Python 3.7 on osx-arm64
I am trying to create a new environment with Python 3.7 using Conda like: conda create -n qnn python=3.7 I got following errors: Collecting package metadata (current_repodata.json): done Solving
stackoverflow.com
'꿀팁' 카테고리의 다른 글
python 3.12에서 kss 한국어 문장분리기 설치 에러 (1) | 2025.04.10 |
---|---|
NLTK 설치 실패 해결 LookupError:Resource punkt_tab not found. 에러 (0) | 2025.04.09 |
graphviz 에러 해결, 설치방법 (0) | 2025.04.03 |
M1 OSError: [Errno 0] JVM DLL not found 에러 / JAVA_HOME 경로 설정 / libjli.dylib (0) | 2023.09.12 |