Unable to locate package python3-pip


#1 Unable to locate package python3-pip
##1.1 問題:
執行: sudo apt-get install python3-pip時,報錯:
Reading package lists... Done
Building dependency tree Reading state information... Done
E: Unable to locate package python3-pip

##1.2 解決辦法:
vi /etc/apt/sources.list

Then add universe category at the end of each line:

deb http://archive.ubuntu.com/ubuntu bionic main universe
deb http://archive.ubuntu.com/ubuntu bionic-security main universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main universe

sudo apt-get update
sudo apt-get install -y python3-pip

##1.3 參考:
https://stackoverflow.com/questions/52394543/pip-install-problem-with-ubuntu-18-04-and-python-3-6-5


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM