🏆 2024

맛집 분야 크리에이터

🏆 2023

IT 분야 크리에이터

👩‍❤️‍👨 구독자 수

182

✒️ 게시글 수

0
https://tistory1.daumcdn.net/tistory/4631271/skin/images/blank.png 네이버블로그

🩷 방문자 추이

오늘

어제

전체

🏆 인기글 순위

티스토리 뷰

728x90
반응형

 

 

 

저의 서버에는 python3.6이 기본으로 설치되어있었고

아래 명령어로 python3.8을 설치했습니다.

apt-get install software-properties-common
apt-get update
add-apt-repository ppa:deadsnakes/ppa -y
apt install python3.8
apt install python3.8-distutils

 

여기서 apt install python3-pip 명령어를 사용한다면, python3.6의 pip이 설치되게 됩니다.

pip3을 python3.8 버전으로 설치하기 위해 사용한 방법입니다.

 

sudo apt install python3.8-distutils

#apt install curl (curl 이 되지 않는다면 설치)
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3.8 get-pip.py
반응형

 

그 후 pip3 -V으로 버전을 확인해보면, 원하는 버전의 pip가 설치됨을 확인할 수 있습니다.

728x90
반응형
댓글