https://stackoverflow.com/questions/64296359/how-can-i-install-pip-for-python2-7-in-ubuntu-20-04
How can I install pip for Python2.7 in Ubuntu 20.04
Is there any way that I can install "pip" for "Python2.7" ? I could install python2.7 by sudo apt install python2-minimal I tried installing pip for this. sudo apt install pyth...
stackoverflow.com
sudo apt update
sudo apt install curl
sudo add-apt-repository universe
sudo apt update
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py # Fetch get-pip.py for python 2.7
python2 get-pip.py
pip --version
이렇게 하면 python2.7, python3.8에 대한 pip가 둘 다 존재하게되는데 pip는 python2.7 차지
pip3가 python3.8 차지가 된다.
[**] pwntools 설치
pip install pwntools
'운영체제' 카테고리의 다른 글
python에서의 멀티 스레드, 멀티 프로세스 (0) | 2022.03.02 |
---|---|
파이프(Pipe) (0) | 2022.02.11 |
ubuntu20.04 wine 설치 (0) | 2022.01.15 |
ubuntu 15.04 apt-get update error 해결 (0) | 2021.11.24 |
pseudo terminal(import pty) (0) | 2021.09.05 |
댓글