ppa 추가해서 원하는 버전 설치하고, update-alternatives로 연결하면 된다.
sudo apt install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.7 |
[링크 : https://askubuntu.com/questions/1251318/how-do-you-install-python3-7-to-ubuntu-20-04]
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 |
[링크 : https://sosodev.tistory.com/entry/Python-pyenv-특정-버전을-설치하기-Ubuntu]
'Programming > python(파이썬)' 카테고리의 다른 글
python simsimd (1) | 2025.08.28 |
---|---|
pip 패키지 완전 삭제하기 (0) | 2025.08.13 |
pip install cmake build multi core support (0) | 2025.08.13 |
python 빌드 정보 (0) | 2025.08.04 |
python용 얼굴탐지, 인식 (0) | 2025.08.04 |