카테고리 없음

mac book python 3.8 설치.

사리생성 2025. 4. 7. 14:55

macbook pro : 2.3GHz 8코어 intel Core i9

Pycham 설치 후 아래와 같이 뜸.

 

3.8을 설치해야됨.

 

1. brew install python@3.8 
아래와 같은 메시지로 설치를 안해줌. 

python@3.8 has been disabled because it is deprecated upstream! It was disabled on 2024-10-14.

 

2. pyenv 이용하기로 함.

brew install pyenv

…
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

 

pyenv install 3.8.10

python-build: use openssl from homebrew
python-build: use readline from homebrew
Downloading Python-3.8.10.tar.xz...
-> https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz
Installing Python-3.8.10...
patching file 'Misc/NEWS.d/next/Build/2021-10-11-16-27-38.bpo-45405.iSfdW5.rst'
patching file configure
patching file configure.ac
python-build: use readline from homebrew
python-build: use ncurses from homebrew
python-build: use zlib from xcode sdk
(시간이 좀 걸림.)
Installed Python-3.8.10 to /Users/kay/.pyenv/versions/3.8.10

 

/Users/[사용자 이름]/.pyenv/versions/3.8.10/bin/python