Python3-pip安装错误|以下软件包具有未满足的依赖性:

时间:2020-09-30 04:52:50

标签: pip python-3.6

apt install python3-pip

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Breaks: libgcc-9-dev (< 9.3.0-5~) but 9.2.1-19 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

2 个答案:

答案 0 :(得分:1)

您可以尝试以下操作:

python get-pip.py

或 从这里下载get-pip.py: https://bootstrap.pypa.io/get-pip.py

然后运行:

$action = 'Log-In'; // if you get this value from user input in any way, be sure to sanitize it with something like `mysqli_real_escape_string`

$sql = "INSERT INTO session_logs (USER_ID, first, last, email, action) SELECT USER_ID, first, last, email, '$action' FROM sessions WHERE email=:email";

答案 1 :(得分:0)

如果无法启动Divyessh的脚本,请尝试安装python3并启动命令:

python3 get-pip.py