"E: Unable to locate package python3-pip"是因为在Debian 10中默认的软件源列表不包含Python 3的pip包
sudo apt-get update
sudo apt-get install python3 python3-pip
如果已经安装了Python 3,那么只需运行:
sudo apt-get install python3-pip
pip3 --version
注意:在Debian 10中,Python 3的pip被称为python3-pip。
如果您在安装过程中遇到任何问题,请确保您的软件源列表已正确配置,并确保您正在使用最新的软件包索引。