【发布时间】:2021-06-12 07:50:26
【问题描述】:
安装pip 时出现错误。我安装了python 3.9.2。
root@kali:~# sudo apt-get 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:
python3-pip : Depends: python3-distutils but it is not going to be installed
Depends: python3-setuptools but it is not going to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@kali:~# ^C
【问题讨论】:
-
检查您的系统中是否存在
pip3。 -
还有stackoverflow.com/questions/45398413/…。我认为宽泛的答案是“Kali Linux 对于日常使用来说已经很糟糕了;也许可以使用其他东西”
标签: python pip kali-linux