Dev record/Ubuntu
There is no Pip installer available in the selected environment E: Unable to locate package python-pip.
Barrer
2023. 1. 4. 01:09
반응형
문제 상황
pip install 등을 실행할 때 환경에 pip 이 깔려있지 않아 발생하는 문제
There is no Pip installer available in the selected environment.
E: Unable to locate package python3-pip
E: Unable to locate package python-pip
해결 방법
# default python에서 발생한 경우
apt-get update
sudo apt-get install python-pip -y
# python3에서 발생한 경우
apt-get update
sudo apt-get install python3-pip -y
-y 옵션은 설치 도중 yes / no 입력을 해야 하는데
이를 옵션으로 먼저 입력하면 수고 로움?을 조금 덜어줄 수 있다.
반응형