root@kali:~# apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pip
我尝试使用以下命令更新我的源文件:
leafpad /etc/apt/sources.list
删除所有内容并通过以下行:
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
保存并退出然后做
apt-get update
apt-get update --fix-missing
apt autoremove
然后
apt-get update
apt-get install python-pip
我仍然遇到同样的问题