#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
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步